OptionalchannelsThe channels it uses. Defaults to stone.notifications.default.
OptionalisWhether module is a class.
OptionalmoduleThe class. Built through the container, so it can ask for i18n, a repository, anything.
The name a caller refers to it by, and the key its deduplication is filed under.
OptionalonThe domain event it reacts to.
With it, nobody calls the notifier: a module emits what happened, and the notice that named that event says who learns about it. The module that emitted imports nothing and is never reopened when a channel is added.
Needs the event bus listener to be enabled, since that is what delivers a domain event.
What a notice declares about itself.
Metadata only. Content lives in the class, which is why there is no
contenthere: a decorator that carried message bodies would put text in the one place it cannot be translated, formatted or computed.