ReactiveActionSource

type ReactiveActionSource<T> = object;

Duck-type for objects that build a ReactiveActionStore on demand via a zero-argument reactiveStore() method. Satisfied by PendingRpcRequest<T>. The [] argument tuple is intentional — the operation's arguments are already baked into the pending request, so each dispatch() re-fires the same call.

Example

function bind<T>(source: ReactiveActionSource<T>) {
    return source.reactiveStore();
}

See

Type Parameters

Type ParameterDescription
TThe value type resolved by the wrapped operation.

Methods

reactiveStore()

reactiveStore(): ReactiveActionStore<[], T>;

Returns

ReactiveActionStore<[], T>

On this page