mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-02 06:37:52 +00:00
LibWeb: Implement the "queue a task" steps as a distinct AO
This will be needed by EventSource.
This commit is contained in:
committed by
Andreas Kling
parent
b6f824a313
commit
9cc186b929
@@ -116,6 +116,7 @@ private:
|
||||
};
|
||||
|
||||
EventLoop& main_thread_event_loop();
|
||||
int queue_a_task(HTML::Task::Source, JS::GCPtr<EventLoop>, JS::GCPtr<DOM::Document>, JS::NonnullGCPtr<JS::HeapFunction<void()>> steps);
|
||||
int queue_global_task(HTML::Task::Source, JS::Object&, JS::NonnullGCPtr<JS::HeapFunction<void()>> steps);
|
||||
void queue_a_microtask(DOM::Document const*, JS::NonnullGCPtr<JS::HeapFunction<void()>> steps);
|
||||
void perform_a_microtask_checkpoint();
|
||||
|
||||
Reference in New Issue
Block a user