1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-23 18:25:08 +00:00

LibJS: Link AsyncBlockStart AO to Explicit Resource Management proposal

As this function already implements that proposal.
This commit is contained in:
Shannon Booth 2023-07-16 17:57:22 +12:00 committed by Linus Groh
parent 930dd2948f
commit 98c4606544

View file

@ -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)
{