public Task RequestAllData() { var client = Clients.Client(Context.ConnectionId); _ = Task.Run(async() => { var data = await _factorioServerManager.GetAllScenarioData(); _ = client.SendAllEntries(data); }); return(Task.FromResult(0)); }
public Task RequestAllData() { var client = Clients.Client(Context.ConnectionId); _ = Task.Run(async() => { var data = await _factorioServerManager.GetAllScenarioData(); _ = client.SendAllEntries(data); }); return(Task.FromResult(0)); }