NotifyTrigger (Commerce Engine)
NotifyTrigger (Commerce Engine)
In this article
|
Note
This component was introduced in version |
The NotifyTrigger
controller handles notify triggers. A Notify trigger query pipeline rule lets you define a message to be displayed to the end user when a certain condition is met.
Methods
subscribe
Adds a callback that’s invoked on state change.
Parameters
-
listener:
() => void
A callback that’s invoked on state change.
Returns Unsubscribe
: A function to remove the listener.
Was this article useful?
Thanks for your feedback!