Introduction of how to notify and react on events from within a ControlFlow
This sample shows how to notify an event to which a ControlFlow block is registered to. Another event is notified from ControlFlow which a function in this script is registered to.
- Script notifying event -> ControlFlow reacts
- Delay of 2000 ms within ControlFlow
- ControlFlow notifying event -> Script reacts
This sample can be run on any device or on the emulator. After startup the delayed event triggers a function from the script which prints to the console
programming-pattern, flow, sample, sick-appspace