.on() doesnt register multiple listeners #202
yesitsfebreeze
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Would it be possible to implement the on listener in a different way to this?
Currently the problem is that you cant register multiple listeners via
.on
, due to the fact that the callback is passed into the lambda.https://github.com/geckosio/geckos.io/blob/master/packages/server/src/geckos/channel.ts#L272
this would be sufficient i guess:
Beta Was this translation helpful? Give feedback.
All reactions