LANCommander/LANCommander.SDK/Rpc/Clients/RpcClient.KeepAlive.cs
2025-11-13 21:04:13 -06:00

13 lines
No EOL
344 B
C#

using System.Threading.Tasks;
using LANCommander.SDK.Rpc.Client;
using Microsoft.AspNetCore.SignalR.Client;
namespace LANCommander.SDK.Rpc.Clients;
internal partial class RpcSubscriber : IRpcSubscriber
{
public Task<bool> IsConnectedAsync()
{
return Task.FromResult(_connection?.State == HubConnectionState.Connected);
}
}