You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Application Services, Event Handlers, and Command Handlers are execution-oriented elements. They don't enclose fields, can reference active domain objects from protean.globals, and generally contain one single method that executes on receiving input.
They are better defined as simple functions instead of classes with __call__ methods.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Application Services, Event Handlers, and Command Handlers are execution-oriented elements. They don't enclose fields, can reference active domain objects from
protean.globals
, and generally contain one single method that executes on receiving input.They are better defined as simple functions instead of classes with
__call__
methods.Beta Was this translation helpful? Give feedback.
All reactions