feat: return values returned from bait hooks
TorchedSammy opened this issue · 0 comments
TorchedSammy commented
the title might be a confusing.
the throw
function of bait should return all values that are returned from a hook.
this means that if there is a hook on real.event-here
and it decided to return a value like real!
then the caller of throw
will get that value back.