View Source wfnet_ehan (wfnet v0.1.0)
The wfnet event handler. Handles the various events from the wfnet server.
By default, it will wait for the events and produce a log.
We can also wait/block until the end of workflow.
To enable the handler, usewfnet_ehan:add_handler/0
Summary
Functions
-spec add_handler() -> ok | {'EXIT', Reason :: term()} | term().
-spec start_link() -> {ok, Pid :: pid()} | {error, Error :: {already_started, pid()} | term()}.