Definition contract for creating an async context.
This is the object form consumed by defineAsyncContext(...).
defineAsyncContext(...)
Optional
When provided, context values will be validated when provide() is called.
Stable context id used for registration, lookup, and serialization envelopes.
Optional metadata used by docs and tooling.
Custom parser paired with serialize.
Custom serializer for transporting the context across process or network boundaries.
Definition contract for creating an async context.
This is the object form consumed by
defineAsyncContext(...).