コード例 #1
0
        public async Task Send(ConsumerContext <TKey, TValue> context, IPipe <ConsumerContext <TKey, TValue> > next)
        {
            await context.OneTimeSetup <ConfigureTopologyContext <TKey, TValue> >(_ => CreateTopic(), () => new Context()).ConfigureAwait(false);

            await next.Send(context).ConfigureAwait(false);
        }