QuickBEAM.VM.Runtime.Web.Abort (QuickBEAM v0.10.9)

Copy Markdown View Source

AbortController and AbortSignal builtins for BEAM mode.

Summary

Functions

Registers an abort listener on an AbortSignal state object.

Returns the JavaScript global bindings provided by this module.

Builds an AbortSignal object backed by VM heap state.

Transitions an AbortSignal into the aborted state and dispatches listeners.

Creates the standard abort error value.

Functions

add_abort_listener(signal, fun)

Registers an abort listener on an AbortSignal state object.

bindings()

Returns the JavaScript global bindings provided by this module.

build_signal()

Builds an AbortSignal object backed by VM heap state.

do_abort(signal, reason)

Transitions an AbortSignal into the aborted state and dispatches listeners.

make_abort_error()

Creates the standard abort error value.