Module appctrlevents
May 19, 2022 ยท View on GitHub
This module provides pub/sub services for app_ctrl.
Copyright (c) 2018-22 Aeternity Anstalt
Authors: Ulf Wiger (ulf@wiger.net).
Data Types
event_tag()
event_tag() = app_running | app_stopped | new_mode
Function Index
| subscribe/1 | Subscribe to events with the given event tag. |
| unsubscribe/1 | Unsubscribe from events with the given event tag. |
Function Details
subscribe/1
subscribe(EventTag) -> true
EventTag = event_tag()
Subscribe to events with the given event tag.
See gproc_ps:subscribe/2
unsubscribe/1
unsubscribe(EventTag) -> true
EventTag = event_tag()
Unsubscribe from events with the given event tag.
See gproc_ps:unsubscribe/2