AppleSauce

    Type Alias SubscriptionOptions

    Options for the subscription method on the pool and relay

    type SubscriptionOptions = {
        id?: string;
        reconnect?: boolean | Parameters<typeof repeat>[0];
        retries?: number | Parameters<typeof retry>[0];
    }
    Index

    Properties

    id?: string

    Custom REQ id for the subscription

    reconnect?: boolean | Parameters<typeof repeat>[0]

    Whether to reconnect when socket is closed. A number of times or true for infinite. default is false

    retries?: number | Parameters<typeof retry>[0]

    Number of times to retry a request. default is 3

    MMNEPVFCICPMFPCPTTAAATR