public void NamedEvent(string name, WebSocketCallback callback) => InternalQueueManager.SetupQueue.Run(() => this.NamedEvents[name] = callback);
public void DisconnectionEvent(WebSocketCallback callback) => InternalQueueManager.SetupQueue.Run(() => this.disconnectEvent = callback);
public void NumberedEvent(byte number, WebSocketCallback callback) => InternalQueueManager.SetupQueue.Run(() => this.NumberedEvents[number] = callback);