Groups
Groups
Sign in
Groups
Groups
Socket.IO
Conversations
About
Send feedback
Help
Binding Multiple Events
41 views
Skip to first unread message
Jeff
unread,
Sep 16, 2011, 6:37:20 PM
9/16/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Socket.IO
Is it possible to bind multiple events at the same time?
i.e.
Socket.on("event1 event2", somefunction);
instead of
Socket.on("event1", somefunction);
Socket.on("event2", somefunction);
Arnout Kazemier
unread,
Sep 16, 2011, 7:01:48 PM
9/16/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sock...@googlegroups.com
Nope, the node core doesn't support it, so we don't either.
Jeff
unread,
Sep 16, 2011, 7:08:22 PM
9/16/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Socket.IO
Thanks for the quick response!
Reply all
Reply to author
Forward
0 new messages