Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IPostRoomCreate

Handler for after a room is created.

Hierarchy

  • IPostRoomCreate

Index

Methods

Optional checkPostRoomCreate

  • checkPostRoomCreate(room: IRoom, read: IRead, http: IHttp): Promise<boolean>
  • Enables the handler to signal to the Apps framework whether this handler should actually be executed for after the room has been created.

    Parameters

    • room: IRoom

      The room which was created

    • read: IRead

      An accessor to the environment

    • http: IHttp

      An accessor to the outside world

    Returns Promise<boolean>

    whether to run the execute or not

executePostRoomCreate

  • Method called after the room has been created.

    Parameters

    • room: IRoom

      The room which was created

    • read: IRead

      An accessor to the environment

    • http: IHttp

      An accessor to the outside world

    • persistence: IPersistence

      An accessor to the App's persistence

    Returns Promise<void>

Generated using TypeDoc