Open larrycinnabar opened 2 years ago
We can't halt event loop from an event inside (stop other hooks to be executed)
Fixes #337
Idea of solution is to return a custom ErrHalt that will be considered to stop immediately the loop
ErrHalt
Problem:
We can't halt event loop from an event inside (stop other hooks to be executed)
Fixes #337
Idea of solution is to return a custom
ErrHalt
that will be considered to stop immediately the loop