class documentation

An action is just an async method that takes its self (an instance of a notification class encapsulating the ID & data), and reacts to the specified action.

Async Method __call__ React to the action.
async def __call__(__no_self__, /, self: NotificationT): (source) ΒΆ

React to the action.