File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -495,6 +495,11 @@ by ThingsDB when a client disconnects or when a node is shutting down.
495495# ## on_delete(self) -> None:
496496Called when the room is removed from ThingsDB.
497497
498+ # ## on_emit(self, event: str, *args) -> None:
499+ Called when no event handler is configured for the event.
500+ By default, the `on_emit` will display a " debug" log message when called to
501+ show that no handler for the event is found.
502+
498503# # Room Properties
499504
500505The following properties are available on a room instance. Note that some properties
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ def on_delete(self) -> None:
5353 """
5454 pass
5555
56- def on_emit (self , event , * args ):
56+ def on_emit (self , event : str , * args ):
5757 """On emit
5858 Called when no event handler is configured for the event.
5959 """
You can’t perform that action at this time.
0 commit comments