Multiple Session.AddHandler
for the same event
#1446
Answered
by
Earlopain
Malix-Labs
asked this question in
Q&A
-
Using |
Beta Was this translation helpful? Give feedback.
Answered by
Earlopain
Sep 11, 2023
Replies: 1 comment
-
Event handlers are saved internally in a |
Beta Was this translation helpful? Give feedback.
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
Event handlers are saved internally in a
map[string][]*eventHandlerInstance{}
wherestring
is the event handler type. Registering event handlers for the same event multiple times is not an issue.