We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make all handlers be called, even if other handlers throw.
const Podium = require('@hapi/podium'); const source = new Podium('a'); const emitter = new Podium(); emitter.registerPodium(source); emitter.on('a', () => console.log('emitted')); source.emit('a'); source.on('a', () => { throw new Error('fail'); }); source.emit('a').catch(() => undefined);
emitted
emitted emitted
The text was updated successfully, but these errors were encountered:
Remove registerPodium(). Closes hapijs#64. Closes hapijs#65
644d397
bb59107
No branches or pull requests
Support plan
Context
What are you trying to achieve or the steps to reproduce?
Make all handlers be called, even if other handlers throw.
What was the result you got?
What result did you expect?
The text was updated successfully, but these errors were encountered: