AppHandle<'error, 'value>Type

PackageAxial
Owns one running root workflow and provides coordinated application shutdown.

Specification

Kind
Type
Members
3
Examples
0
StopSignature
this.Stop
CompletionSignature
this.Completion
StatusSignature
this.Status

Summary

NameSignatureSynopsis
Stopthis.StopRequests cooperative interruption and waits for the final application exit.
Completionthis.CompletionWaits for the root workflow and its scope finalizers to complete.
Statusthis.StatusGets the current application lifecycle state.

Stop

this.Stop
Member
Requests cooperative interruption and waits for the final application exit.

Returns

Async<Exit<'value, 'error>>

Completion

this.Completion
Member
Waits for the root workflow and its scope finalizers to complete.

Returns

Async<Exit<'value, 'error>>

Status

this.Status
Member
Gets the current application lifecycle state.

Returns

AppStatus