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