2 instantiations of TimerAwaitable
Microsoft.AspNetCore.SignalR.Client.Core (2)
HubConnection.cs (1)
1596
var timer = new
TimerAwaitable
(TickRate, TickRate);
src\SignalR\common\Shared\MessageBuffer.cs (1)
37
private readonly TimerAwaitable _timer =
new
(AckRate, AckRate);
7 references to TimerAwaitable
Microsoft.AspNetCore.SignalR.Client.Core (7)
HubConnection.cs (2)
1596
var
timer = new TimerAwaitable(TickRate, TickRate);
2274
public async Task TimerLoop(
TimerAwaitable
timer)
src\SignalR\common\Shared\MessageBuffer.cs (1)
37
private readonly
TimerAwaitable
_timer = new(AckRate, AckRate);
src\SignalR\common\Shared\TimerAwaitable.cs (4)
50
var weakRef = (WeakReference<
TimerAwaitable
>)state!;
51
if (weakRef.TryGetTarget(out
var
thisRef))
56
state: new WeakReference<
TimerAwaitable
>(this),
64
public
TimerAwaitable
GetAwaiter() => this;