NamespaceEventOptions
Defined in: relay-sdks/ts/src/namespace-events.ts:26
Options for namespaceEvents: the prefix, the iterator’s queue bound and its own cancellation.
Extends
Section titled “Extends”Properties
Section titled “Properties”capacity?
Section titled “capacity?”capacity?: number;Defined in: relay-sdks/ts/src/subscription-events.ts:26
Maximum queued events (including lifecycle events). Positive integer; default 64.
Inherited from
Section titled “Inherited from”SubscriptionEventOptions.capacity
prefix
Section titled “prefix”prefix: readonly string[];Defined in: relay-sdks/ts/src/namespace-events.ts:28
Namespace prefix to discover, matched field by field. Same rules as a namespace.
signal?
Section titled “signal?”signal?: AbortSignal;Defined in: relay-sdks/ts/src/subscription-events.ts:28
Cancels only this subscription.