@ascentbv/ts-common - v1.0.221
    Preparing search index...

    Interface Event<A, SubscribeOptions>

    interface Event<A, SubscribeOptions = undefined> {
        subscribe: (
            callback: EventCallback<A>,
            options?: SubscribeOptions,
        ) => EventCallback<A>;
        unsubscribe: (callback: EventCallback<A>) => void;
    }

    Type Parameters

    • A
    • SubscribeOptions = undefined

    Implemented by

    Index

    Properties

    subscribe: (
        callback: EventCallback<A>,
        options?: SubscribeOptions,
    ) => EventCallback<A>
    unsubscribe: (callback: EventCallback<A>) => void