event:listenercommand we can use to create new events. We'll walk through step by step on how to create one below.
__init__method which is resolved by the container and we have a
handlemethod, also resolved by the container.
wsgi=Falseso that you are not continuously subscribing the same listener on every request.
user.subscribedaction that we specified in the
subscribeattribute of our listener class.
handlemethod. In this case you can simply pass keyword arguments to your
firemethod like so:
handlemethod using the