async Task IAgent.Stop(StopContext context) { LogContext.Current = DefaultLogContext; await _receiveEndpoints.Stop(context).ConfigureAwait(false); await base.Stop(context).ConfigureAwait(false); }
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); }
async Task IAgent.Stop(StopContext context) { await _receiveEndpoints.Stop(context).ConfigureAwait(false); await base.Stop(context).ConfigureAwait(false); }