Table of Contents

Method EnsureStartedAsync

Namespace
Qavren.Edge.Hosting
Assembly
Qavren.Edge.Core.dll

EnsureStartedAsync(CancellationToken)

Calls Start() if needed, awaits Started, and rethrows its fault. From inside an IEdgeStartupTask it returns at once instead of waiting on the task that called it: the tasks ordered before the caller have completed, the ones after it have not.

ValueTask EnsureStartedAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Returns

ValueTask