public Task OnStateChanged(Copren.Net.Core.Connection.Client client, bool fromServer, object state) { // Ignore peer updates if (!fromServer) { return(Task.CompletedTask); } return(Task.FromResult(true)); }
public Task OnPeerStateChanged(Copren.Net.Core.Connection.Client client, Guid peerId, object state) { _logger.Information("Peer {PeerId:s} reported state = {Position}", peerId, state); return(Task.CompletedTask); }