cloakfall
    Preparing search index...

    Function createRoom

    • Create a room as its host, resolving with the room's state once the server acknowledges it, or an error.

      Parameters

      • name: string
      • roomName: string

      Returns Promise<RoomState | { error: string }>