transferum
    Preparing search index...

    Interface GateTransferInterface<T>

    Transfer with gate-controlled push/subscribe — data flows only when the gate is active.

    interface GateTransferInterface<T> {
        active: boolean;
        isAsyncPollingProxy: boolean;
        isAsyncPullable: boolean;
        isAsyncPushable: boolean;
        isAsyncTriggerable: boolean;
        isDuplex: boolean;
        isGate: true;
        isInput: true;
        isOutput: true;
        isPollingProxy: boolean;
        isPollingSource: boolean;
        isPullable: boolean;
        isPushable: true;
        isSubscribable: true;
        isTriggerable: boolean;
        activate(): void;
        deactivate(): void;
        destroy(): void;
        onStateChange(handler: DataHandler<GateInterface>): SubscriberInterface;
        push(data: T): void;
        subscribe(handler: DataHandler<T>): SubscriberInterface;
        toggle(): boolean;
    }

    Type Parameters

    • T

    Hierarchy (View Summary)

    Implemented by

    Index
    active: boolean
    isAsyncPollingProxy: boolean
    isAsyncPullable: boolean
    isAsyncPushable: boolean
    isAsyncTriggerable: boolean
    isDuplex: boolean
    isGate: true
    isInput: true
    isOutput: true
    isPollingProxy: boolean
    isPollingSource: boolean
    isPullable: boolean
    isPushable: true
    isSubscribable: true
    isTriggerable: boolean