Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IPostRoomDeleted

Handler for after a room is deleted.

Hierarchy

  • IPostRoomDeleted

Index

Methods

Optional checkPostRoomDeleted

  • checkPostRoomDeleted(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 deleted.

    Parameters

    • room: IRoom

      The room which was deleted

    • 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

executePostRoomDeleted

  • Method called after the room has been deleted.

    Parameters

    • room: IRoom

      The room which was deleted

    • 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