SignalR.Signaler.SafeHandleEventAndSetResultAction.SafeHandleEventAndSetResultAction C# (CSharp) Method

SafeHandleEventAndSetResultAction() public method

public SafeHandleEventAndSetResultAction ( ISignalBus signalBus, TaskCompletionSource tcs, string timerKey, IEnumerable eventKeys ) : System
signalBus ISignalBus
tcs TaskCompletionSource
timerKey string
eventKeys IEnumerable
return System
            public SafeHandleEventAndSetResultAction(ISignalBus signalBus,TaskCompletionSource<SignalResult> tcs, string timerKey, IEnumerable<string> eventKeys)
            {
                locker = new object();
                Handler = (sender, args) =>
                {
                    SafeHandleEventAndSetResult( args.EventKey);
                };
                Tcs = tcs;
                this.signalBus = signalBus;
                this.timerKey = timerKey;
                this.eventKeys = eventKeys;
            }