transferum
    Preparing search index...

    Interface UniversalOutputInterface<T>

    Universal output interface — aggregates all sync and async output capabilities (pull, subscribe, trigger, gate, async variants).

    interface UniversalOutputInterface<T> {
        active: boolean;
        isAsyncPollingProxy: boolean;
        isAsyncPullable: boolean;
        isAsyncPushable: boolean;
        isAsyncTriggerable: boolean;
        isDuplex: boolean;
        isGate: boolean;
        isInput: boolean;
        isOutput: boolean;
        isPollingProxy: boolean;
        isPollingSource: boolean;
        isPullable: boolean;
        isPushable: boolean;
        isSubscribable: boolean;
        isTriggerable: boolean;
        activate(): void;
        asyncPull(): Promise<T | undefined>;
        asyncTrigger(): Promise<void>;
        deactivate(): void;
        destroy(): void;
        onStateChange(handler: DataHandler<GateInterface>): SubscriberInterface;
        pull(): T | undefined;
        subscribe(handler: DataHandler<T>): SubscriberInterface;
        toggle(): boolean;
        trigger(): void;
    }

    Type Parameters

    • T

    Hierarchy (View Summary)

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