ReactiveStreamSource
Duck-type for objects that build a ReactiveStreamStore on demand via a
reactiveStore({ abortSignal }) method. Satisfied by PendingRpcSubscriptionsRequest<T>.
Reactive-framework bindings (e.g. React's useSubscription) consume this duck-type so they
don't have to name a concrete producer type.
Example
See
Type Parameters
| Type Parameter | Description |
|---|---|
T | The value type emitted by the resulting stream store. |
Methods
reactiveStore()
Parameters
| Parameter | Type |
|---|---|
options | { abortSignal: AbortSignal; } |
options.abortSignal | AbortSignal |