Exemplo n.º 1
0
        async Task IAgent.Stop(StopContext context)
        {
            LogContext.Current = DefaultLogContext;

            await _receiveEndpoints.Stop(context).ConfigureAwait(false);

            await base.Stop(context).ConfigureAwait(false);
        }
Exemplo n.º 2
0
            protected override async Task StopAgent(StopContext context)
            {
                await _endpoints.Stop(context.CancellationToken).ConfigureAwait(false);

                await _supervisor.Stop(context).ConfigureAwait(false);

                await base.StopAgent(context).ConfigureAwait(false);
            }
Exemplo n.º 3
0
        async Task IAgent.Stop(StopContext context)
        {
            await _receiveEndpoints.Stop(context).ConfigureAwait(false);

            await base.Stop(context).ConfigureAwait(false);
        }