Microsoft.AspNet.SignalR.Messaging.DefaultSubscription.RemoveEvent C# (CSharp) Method

RemoveEvent() public method

public RemoveEvent ( string eventKey ) : void
eventKey string
return void
        public override void RemoveEvent(string eventKey)
        {
            base.RemoveEvent(eventKey);

            lock (_cursors)
            {
                var index = FindCursorIndex(eventKey);
                if (index != -1)
                {
                    _cursors.RemoveAt(index);
                    _cursorTopics.RemoveAt(index);
                }
            }
        }