Exemplo n.º 1
0
 public static async Task SendSignalRMessage(this IConnectionGrain grain, string methodName, params object[] message)
 {
     var invocationMessage = new InvocationMessage(methodName, message);
     await grain.SendMessage(invocationMessage);
 }
Exemplo n.º 2
0
 public static async Task SendSignalRMessage(this IConnectionGrain grain, string methodName, params object[] message)
 {
     var invocationMessage = new InvocationMessage(Guid.NewGuid().ToString(), nonBlocking: true, target: methodName, arguments: message);
     await grain.SendMessage(invocationMessage);
 }