runtime library
Runtime extension contracts without compiler or analyzer dependencies.
Classes
-
CallbackStreamItem<
T> - A yielded null is distinct from the end of an asynchronous iterator.
- NapiAbortSignal
- Shared registration ownership; host adapters provide fresh state and hooks.
-
NapiCallbackStream<
T> - Pulls one host iterator at a time for a single Dart subscription.
-
NapiStream<
T, S extends Object> - One lazy subscription and the original call's roots, shared by both targets.
- OperationLease
- Keeps an accepted operation's owner reachable and usable until release.
- OperationOwner
- Accepts an operation or throws before the operation starts.
- ResourceControl
- Coordinates explicit cleanup with accepted uses of one Dart object.
- ResourceOperation
- The distinct resources accepted by one generated call.
-
StreamDelivery<
S extends Object> - A host delivery owns its snapshot until the Promise transport acknowledges it.
Enums
- ResourceState
- The lifecycle shared by all bindings of an explicit resource.
- StreamDeliveryKind
- The outcome of one accepted host delivery. Payloads are never awaited.
Functions
- Installs the generated module's private allocator once during startup.
Exceptions / Errors
- StreamBufferOverflow
- Identifies the adapter's overflow separately from ordinary Dart source errors.