1 write to _timeProvider
Microsoft.AspNetCore.SignalR.Core (1)
HubConnectionContext.cs (1)
72
_timeProvider
= contextOptions.TimeProvider ?? TimeProvider.System;
6 references to _timeProvider
Microsoft.AspNetCore.SignalR.Core (6)
HubConnectionContext.cs (6)
92
_lastSendTick =
_timeProvider
.GetTimestamp();
598
_messageBuffer = new MessageBuffer(_connectionContext, Protocol, _statefulReconnectBufferSize, _logger,
_timeProvider
);
671
var currentTime =
_timeProvider
.GetTimestamp();
672
var elapsed =
_timeProvider
.GetElapsedTime(Volatile.Read(ref _lastSendTick), currentTime);
715
_receivedMessageElapsed =
_timeProvider
.GetElapsedTime(_receivedMessageTick);
766
_receivedMessageTick =
_timeProvider
.GetTimestamp();