You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What about an option to stop (Halt) event loop from inside an event? return true, nil will still loop through all registered hooks in the given event chain, and there is no option to stop and do not continue to following registered hooks
The text was updated successfully, but these errors were encountered:
What is the purpose behind this? The event handler signature passes in the handled bool so the decision rests in the event handlers themselves. A hard halt can prevent important event handlers from running - even those that MUST run every time (like a lock module that must know every time auth has failed).
What about an option to stop (Halt) event loop from inside an event?
return true, nil
will still loop through all registered hooks in the given event chain, and there is no option to stop and do not continue to following registered hooksThe text was updated successfully, but these errors were encountered: