Example #1
0
        public async Task <TResult> CallAsync <TResult>(Func <TImpl, Publisher, Task <TResult> > caller)
        {
            var publ = _publisherFactory.New(_consumer.GetExchangePublisher());

            return(await caller(_impl.New(), publ));
        }