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/1Subscribe to events with the given event tag.
unsubscribe/1Unsubscribe from events with the given event tag.

Function Details

subscribe/1


subscribe(EventTag) -> true

Subscribe to events with the given event tag. See gproc_ps:subscribe/2

unsubscribe/1


unsubscribe(EventTag) -> true

Unsubscribe from events with the given event tag. See gproc_ps:unsubscribe/2