mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-11 02:29:21 +00:00
LibWeb: Implement 'Queue a fetch task' AO
This commit is contained in:
parent
6deb5ce9b5
commit
14e722617c
Notes:
sideshowbarker
2024-07-17 04:59:48 +09:00
Author: https://github.com/linusg
Commit: 14e722617c
Pull-request: https://github.com/SerenityOS/serenity/pull/15795
Reviewed-by: https://github.com/ADKaster
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/davidot ✅
3 changed files with 38 additions and 0 deletions
16
Userland/Libraries/LibWeb/Fetch/Infrastructure/Task.h
Normal file
16
Userland/Libraries/LibWeb/Fetch/Infrastructure/Task.h
Normal file
|
@ -0,0 +1,16 @@
|
|||
/*
|
||||
* Copyright (c) 2022, Linus Groh <linusg@serenityos.org>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <LibJS/Forward.h>
|
||||
#include <LibJS/SafeFunction.h>
|
||||
|
||||
namespace Web::Fetch::Infrastructure {
|
||||
|
||||
void queue_fetch_task(JS::Object&, JS::SafeFunction<void()>);
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue