mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 05:39:11 +00:00
LibWeb: Return the ID of queued global events
This will allow callers to track the event.
This commit is contained in:
parent
3a50cadddf
commit
4806cf9527
Notes:
sideshowbarker
2024-07-17 05:18:58 +09:00
Author: https://github.com/trflynn89
Commit: 4806cf9527
Pull-request: https://github.com/SerenityOS/serenity/pull/23681
2 changed files with 4 additions and 2 deletions
|
@ -116,7 +116,7 @@ private:
|
|||
};
|
||||
|
||||
EventLoop& main_thread_event_loop();
|
||||
void queue_global_task(HTML::Task::Source, JS::Object&, JS::SafeFunction<void()> steps);
|
||||
int queue_global_task(HTML::Task::Source, JS::Object&, JS::SafeFunction<void()> steps);
|
||||
void queue_a_microtask(DOM::Document const*, JS::SafeFunction<void()> steps);
|
||||
void perform_a_microtask_checkpoint();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue