Type alias StoreOptions

StoreOptions: {
    auth: AuthOptions;
    encoder: IEncoder<string, string>;
    heartbeat: number;
    logger: ILogger;
    pid: string;
    retries: number;
}

Type declaration

  • auth: AuthOptions

    The store authentication options.

  • encoder: IEncoder<string, string>

    The store encoder, defaults to a base64 encoder.

  • heartbeat: number

    The frequency in ms to heartbeat locks.

  • logger: ILogger

    A logger instance, if not provided a default logger will be used.

  • pid: string

    A process id that can be used to uniquely identify this Resonate instance. If not provided a default value will be generated.

  • retries: number

    Number of retries to attempt before throwing an error. If not provided, a default value will be used.