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

    • connect: ((userId: string, opts?: ConnectOptions) => Promise<User>)
        • (userId: string, opts?: ConnectOptions): 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