Function doCluster

  • Invoke a command on all servers in this cluster.

    Type Parameters

    • T

    Parameters

    • method: string
    • args: any[] = []
    • Optional connectionId: string
    • waitForResponse: boolean = false

    Returns Promise<T extends any
        ? T
        : unknown>