Table of Contents

WaitForStartAsync Method

Definition

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

WaitForStartAsync(CancellationToken)

Called at the start of StartAsync(CancellationToken) which will wait until it's complete before continuing. This can be used to delay startup until signaled by an external event.

public Task WaitForStartAsync(CancellationToken cancellationToken)

Parameters

cancellationToken CancellationToken

Used to abort program start.

Returns

Task

A Task that represents the asynchronous operation.