1.7.4.3 linger()

-spec linger() -> ExitReason when ExitReason ::
                                      term().

Put a process into infinite sleep, from which it wakes up only when an ’EXIT’ message arrives. Then it returns exit reason.

Common usecase, when cleanup actions are not needed:

exit(anvl_lib:linger())

JavaScript license information