Open andyrichardson opened 3 years ago
For now, all user-provided event handlers are executed sequentially.
await onSubscribe(); // User side-effect - blocking // ... // subscriptionless handling logic
It would be nice to have the option between:
user handler -> subscriptionless handler -> response
user handler
subscriptionless handler -> response
Note: onConnectionInit handler should always be executed sequentially for authentication purposes
onConnectionInit
About
For now, all user-provided event handlers are executed sequentially.
It would be nice to have the option between:
user handler -> subscriptionless handler -> response
)user handler
andsubscriptionless handler -> response
)