Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 746
Closed
Labels
Milestone
Description
Figured out the problem
internalstaticvoidAddEvent(stringeventName,objectid,Actioncallback,Actionvalue){varcall=(Action)events.GetOrAdd(eventName,callback);if(call==null){BridgeConnector.Socket.On(eventName+id,()=>{((Action)events[eventName])();});BridgeConnector.Socket.Emit($"register-{eventName}",id);}call+=value;events[eventName]=call;}@softworkz could you advise whether it requires any locks and if so where.
Originally posted by @agracio in #913 (comment)