Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IPreRoomCreateModify

Handler called when an App wants to modify a room in a destructive way.

Hierarchy

  • IPreRoomCreateModify

Index

Methods

Optional checkPreRoomCreateModify

  • checkPreRoomCreateModify(room: IRoom, read: IRead, http: IHttp): Promise<boolean>
  • Checks whether the handler actually shall execute. This method can basically implement a filter.

    Parameters

    • room: IRoom

      The room which was being 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

executePreRoomCreateModify

Generated using TypeDoc