HostingAbstractionsHostExtensions extension
- on
Methods
-
run(
[CancellationToken? token]) → Future< void> -
Available on Host, provided by the HostingAbstractionsHostExtensions extension
Runs an application and returns a Future that only completes when the token is triggered or shutdown is triggered. -
runSync(
) → void -
Available on Host, provided by the HostingAbstractionsHostExtensions extension
Runs an application and block the calling thread until host shutdown. -
startSync(
) → void -
Available on Host, provided by the HostingAbstractionsHostExtensions extension
Starts the host synchronously. -
waitForShutdown(
[CancellationToken? token]) → Future< void> -
Available on Host, provided by the HostingAbstractionsHostExtensions extension
Returns a Future that completes when shutdown is triggered via the given token.