SignalR.DefaultSubscription.RemoveEvent C# (CSharp) Method

RemoveEvent() public method

public RemoveEvent ( string eventKey ) : void
eventKey string
return void
        public override void RemoveEvent(string eventKey)
        {
            lock (_lockObj)
            {
                var index = _cursors.FindIndex(c => c.Key == eventKey);
                if (index != -1)
                {
                    _cursors.RemoveAt(index);
                    _cursorTopics.RemoveAt(index);
                }
            }
        }