AppleSauce
    Preparing search index...

    Type Alias PublishOptions

    Options for the publish method on the pool and relay

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

    Properties

    Properties

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

    Whether to reconnect when socket fails to connect. default is true (10 retries with 1 second delay)

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

    Number of times to retry the publish. default is 10

    use reconnect instead