Skip to main content
interface Init

Called when a promise is constructed. This does not mean that corresponding before/after events will occur, only that the possibility exists. This will happen if a promise is created without ever getting a continuation.

Call Signatures

(
promise: Promise<unknown>,
parent: Promise<unknown>,
): void
Back to top