BrowserAppModule

PackageAxial.Hosting.Browser
Browser ownership and AbortSignal integration for root Flow applications.

Summary

NameSignatureSynopsis
mountBrowserApp.mount environment applicationStarts an application owned explicitly by the calling UI or browser module.
startWithSignalBrowserApp.startWithSignal signal environment applicationStarts an application and translates an AbortSignal into coordinated application stop.

mount

BrowserApp.mount environment application
Member
Starts an application owned explicitly by the calling UI or browser module.

Parameters

NameTypeDescription
environment'env
applicationFlow<'env, 'error, 'value>

Returns

AppHandle<'error, 'value>

startWithSignal

BrowserApp.startWithSignal signal environment application
Member
Starts an application and translates an AbortSignal into coordinated application stop.

Parameters

NameTypeDescription
signalAbortSignal
environment'env
applicationFlow<'env, 'error, 'value>

Returns

AppHandle<'error, 'value>