a lot of progress on jotted editor

This commit is contained in:
2021-07-19 22:02:14 -04:00
parent 28bfb0ad19
commit 65112c70c2
424 changed files with 327623 additions and 49 deletions

View File

@ -1,16 +1,13 @@
using Microsoft.AspNetCore.SignalR;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BinaryDad.Coding.Hubs
{
public class CodeHub : Hub
{
public async Task SendMessage(string user, string message)
public Task UpdateCode(string user, int index, string code)
{
await Clients.All.SendAsync("ReceiveMessage", user, message);
return Clients.All.SendAsync("ReceiveCode", user, index, code);
}
}
}