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
Have a consistent event interface for Hapi, where event emits cannot delay / abort server processing.
Do you have a new or modified API suggestion to solve the problem?
Don't wait for emit() promise, on server "start" and "stop", and subsequently don't return a promise from events.emit(). This should also enable much better performance, especially for events with no listeners.
The text was updated successfully, but these errors were encountered:
Support plan
Context
This is a followup from comment in #4173 (review).
What problem are you trying to solve?
Have a consistent event interface for Hapi, where event emits cannot delay / abort server processing.
Do you have a new or modified API suggestion to solve the problem?
Don't wait for
emit()
promise, on server"start"
and"stop"
, and subsequently don't return a promise fromevents.emit()
. This should also enable much better performance, especially for events with no listeners.The text was updated successfully, but these errors were encountered: