Exemple #1
0
        async Task IAgent.Stop(StopContext context)
        {
            LogContext.Current = DefaultLogContext;

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

            await base.Stop(context).ConfigureAwait(false);
        }
Exemple #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);
            }
Exemple #3
0
        async Task IAgent.Stop(StopContext context)
        {
            await _receiveEndpoints.Stop(context).ConfigureAwait(false);

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