mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:38:11 +00:00
LibWeb: Support taking matching tasks out of a task queue
This will be needed for HTMLMediaElement.
This commit is contained in:
parent
807891c0df
commit
9a370a5eed
2 changed files with 19 additions and 0 deletions
|
@ -32,6 +32,7 @@ public:
|
|||
}
|
||||
|
||||
void remove_tasks_matching(Function<bool(HTML::Task const&)>);
|
||||
ErrorOr<Vector<NonnullOwnPtr<Task>>> take_tasks_matching(Function<bool(HTML::Task const&)>);
|
||||
|
||||
private:
|
||||
HTML::EventLoop& m_event_loop;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue