Skip to content

Multiple Session.AddHandler for the same event #1446

Answered by Earlopain
Malix-Labs asked this question in Q&A
Discussion options

You must be logged in to vote

Event handlers are saved internally in a map[string][]*eventHandlerInstance{} where string is the event handler type. Registering event handlers for the same event multiple times is not an issue.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Malix-Labs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants