public override async Task <GetBindingsSubscriptionsEnvelope> GetBindingsSubscriptions(Empty request, ServerCallContext context) { var binding = new GetBindingsSubscriptionsEnvelope(); binding.Bindings.Add("test binding"); return(binding); }
public override Task <GetBindingsSubscriptionsEnvelope> GetBindingsSubscriptions(Empty request, Grpc.Core.ServerCallContext context) { var envelope = new GetBindingsSubscriptionsEnvelope(); this.workflows.ForEach(w => { envelope.Bindings.Add(w.Name); }); return(Task.FromResult(envelope)); }