mirror of
https://github.com/RGBCube/serenity
synced 2025-10-24 10:42:34 +00:00
The one current caller of this function always defers microtask checkpoints before calling wait_for_all, ensuring that the promise accept/reject handlers will always be called later in the Web event loop processing. We need to store all the state for the closures in a heap allocated object with HeapFunctions to keep it around while there are still promises to resolve. |
||
|---|---|---|
| .. | ||
| AbstractOperations.cpp | ||
| AbstractOperations.h | ||
| Buffers.cpp | ||
| Buffers.h | ||
| CallbackType.cpp | ||
| CallbackType.h | ||
| DOMException.cpp | ||
| DOMException.h | ||
| DOMException.idl | ||
| ExceptionOr.h | ||
| Function.idl | ||
| OverloadResolution.cpp | ||
| OverloadResolution.h | ||
| Promise.cpp | ||
| Promise.h | ||
| Types.h | ||