mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:07:34 +00:00
LibWeb: Implement 'Queue a fetch task' AO
This commit is contained in:
parent
6deb5ce9b5
commit
14e722617c
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