Function removeMember

  • Remote a connection (via id) from a room. Throws errors if the room does not exist, or the connection is not in the room. Middleware errors also throw. toWaitRemote: Should this method wait until the remote Actionhero server (the one the connection is connected too) responds?

    Parameters

    • connectionId: string
    • room: string
    • toWaitRemote: boolean = true

    Returns Promise<any>