pub.sync:notify
WmPublic. Notifies services waiting on the specified key and delivers the input document to the services.
Input Parameters
key | String Name of the key. Waiting services with the same key will receive notification and input from this service. |
value | Document Input for the waiting services. |
Output Parameters
notified | String Number of waiting services that received the notification. The notified count only includes services waiting at the time the pub.sync:notify service was called. Wait requests that start after pub.sync:notify executes are not included in the notified count. |
Usage Notes
The value of the server property watt.server.sync.timeout determines the maximum length of time that the notification can exist. However, if a service with an exclusive wait is registered for the notification key, the notification ends as soon as the exclusive wait receives the notification.