Libraries
    Preparing search index...

    Interface UseSubscriptionOptions

    Options for useSubscription.

    interface UseSubscriptionOptions {
        enabled?: boolean;
        maxEvents?: number;
    }
    Index

    Properties

    Properties

    enabled?: boolean

    Whether the subscription should be active. Defaults to true.

    maxEvents?: number

    Maximum number of events to keep in the events array. Defaults to unlimited.