-spec first_match(hookpoint(), _Input) -> {value,
_Return} |
false.
Pass Val to functions registered at HookPoint.
Stop iteration and return {value, Ret} when hook returns {true, Ret}.
Otherwise return false.