mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-09 00:22:43 +02:00
This object is responsible for handling async functions in bytecode, and this commit fully rewrites it, now it does: * creates and keeps alive a top level promise, which callers can attach their `then` clauses * creates and clear a handle to itself, to assure that it does not get garbage collected * properly handles all possible ways a async function could halt and when possible continues the execution immediately
1.2 KiB
1.2 KiB