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.
The returned store is in status: 'idle' — the caller is responsible for invoking
`connect()` to open the underlying stream.
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 |