wormhole v2.3.0 Wormhole.Capture
Caller ———> Terminator <=====> Callback ^ |
|
---------------------------------
Caller process is monitoring Callback proces. In case of Callback cresh, DOWN message contains reason (return value).
Terminator process is monitoring Caller proces and is linked with Callback. If Caller crashes, Terminator calls exits(:normal) and stops execution of Callback proces.
Link to this section Summary
Link to this section Functions
Link to this function
exec(callback, options)
Link to this function
terminator_fn(caller_pid, callback_pid)