public Task SendFactorioOutputData(string data) { string connectionId = Context.ConnectionId; if (Context.Items.TryGetValue(connectionId, out object serverId)) { string id = (string)serverId; _factorioServerManger.FactorioDataReceived(id, data); } return(Task.FromResult(0)); }