Skip to content

Instantly share code, notes, and snippets.

@Chandankkrr
Created May 31, 2021 11:44
Show Gist options
  • Save Chandankkrr/87dd02f827c1f0bba66a7ecae730ab49 to your computer and use it in GitHub Desktop.
Save Chandankkrr/87dd02f827c1f0bba66a7ecae730ab49 to your computer and use it in GitHub Desktop.
hubConnection.On<string, string, string>("ReceiveMessage", (connectionId, x, y) => {
JSRuntime.InvokeVoidAsync("nextjs.updateCursor", connectionId, x, y);
StateHasChanged();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment