mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-30 03:27:15 +02:00
LibJS: Link AsyncBlockStart AO to Explicit Resource Management proposal
As this function already implements that proposal.
This commit is contained in:
committed by
Linus Groh
parent
930dd2948f
commit
98c4606544
Notes:
sideshowbarker
2024-07-17 16:23:06 +09:00
Author: https://github.com/shannonbooth Commit: https://github.com/SerenityOS/serenity/commit/98c4606544 Pull-request: https://github.com/SerenityOS/serenity/pull/20047 Reviewed-by: https://github.com/linusg
@@ -772,6 +772,7 @@ void async_function_start(VM& vm, PromiseCapability const& promise_capability, T
|
||||
}
|
||||
|
||||
// 27.7.5.2 AsyncBlockStart ( promiseCapability, asyncBody, asyncContext ), https://tc39.es/ecma262/#sec-asyncblockstart
|
||||
// 12.7.1.1 AsyncBlockStart ( promiseCapability, asyncBody, asyncContext ), https://tc39.es/proposal-explicit-resource-management/#sec-asyncblockstart
|
||||
template<typename T>
|
||||
void async_block_start(VM& vm, T const& async_body, PromiseCapability const& promise_capability, ExecutionContext& async_context)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user