internal static Task Broadcast(Context.ContextBase context) { return(channelClient.DispatchAsync <Task>(ApiTopic.Broadcast, context)); }
/// <summary> /// Publishes context to other applications on the desktop /// </summary> /// <param name="context">The context to publish to other applications</param> /// <returns></returns> public Task BroadcastAsync(Context.ContextBase context) { return(channelClient.DispatchAsync <Task>(ApiFromClientTopic.Broadcast, new { context = context })); }