Table of Contents

StopAsync Method

Definition

Namespace
Codebelt.Bootstrapper
Assemblies
Codebelt.Bootstrapper.dll
Source
src/Codebelt.Bootstrapper/BootstrapperLifetime.cs

StopAsync(CancellationToken)

Called from StopAsync(CancellationToken) to indicate that the host is stopping and it's time to shut down.

public Task StopAsync(CancellationToken cancellationToken)

Parameters

cancellationToken CancellationToken

Used to indicate when stop should no longer be graceful.

Returns

Task

A Task that represents the asynchronous operation.