• Returns {
        connect: ((userId, opts?) => Promise<User>);
        disconnect: (() => Promise<void>);
        reconnect: (() => boolean);
    }

    • connect: ((userId, opts?) => Promise<User>)
        • (userId, opts?): Promise<User>
        • Parameters

          • userId: string
          • Optional opts: ConnectOptions

          Returns Promise<User>

    • disconnect: (() => Promise<void>)
        • (): Promise<void>
        • Returns Promise<void>

    • reconnect: (() => boolean)
        • (): boolean
        • Returns boolean

Generated using TypeDoc