public async Task SendAsync(ServiceAction action) { subject.OnNext(action); await Task.CompletedTask; }
public static T Reply <T>(this ServiceAction request, T response) where T : ServiceAction { response.Id = request.Id; return(response); }