action await notification

action await notification Structure: Wait for a notification.

action await notification structure
scope scope: optional
notification notification
context array of notification context: optional

Description

The next action will not be performed until the specified notification is observed.

Fields

scope

Observe notifications within this scope.

Only notifications posted with the observed scope will cause the action to continue.

notification

Notification to observe.

Process wide notifications are posted as strings. Notifications should follow a reverse domain name format to avoid namespace collisions.

context

Continue if notification's context contains this context.

A notification can be accompanied by a context dictionary. If the action includes a context, only notifications matching the notification and containing the context will cause the action to continue.

Back to the previous page.