public override Task <GetTopicSubscriptionsEnvelope> GetTopicSubscriptions(Empty request, ServerCallContext context) { var topicSubscriptionsEnvelope = new GetTopicSubscriptionsEnvelope(); topicSubscriptionsEnvelope.Topics.Add("Storage.Reduce"); return(Task.FromResult(topicSubscriptionsEnvelope)); }
public override async Task <GetTopicSubscriptionsEnvelope> GetTopicSubscriptions(Empty request, ServerCallContext context) { var subscription = new GetTopicSubscriptionsEnvelope(); subscription.Topics.Add("test topic"); return(subscription); }