BrowserAppModule
PackageAxial.Hosting.Browser
Browser ownership and AbortSignal integration for root Flow applications.
Summary
| Name | Signature | Synopsis |
|---|
| Operations |
| mount | BrowserApp.mount environment application | Starts an application owned explicitly by the calling UI or browser module. |
| startWithSignal | BrowserApp.startWithSignal signal environment application | Starts an application and translates an AbortSignal into coordinated application stop. |
Operations
kind:member
BrowserApp.mount environment application
MemberStarts an application owned explicitly by the calling UI or browser module.
Parameters
| Name | Type | Description |
|---|
| environment | 'env | |
| application | Flow<'env, 'error, 'value> | |
Returns
AppHandle<'error, 'value>
kind:member
BrowserApp.startWithSignal signal environment application
MemberStarts an application and translates an AbortSignal into coordinated application stop.
Parameters
| Name | Type | Description |
|---|
| signal | AbortSignal | |
| environment | 'env | |
| application | Flow<'env, 'error, 'value> | |
Returns
AppHandle<'error, 'value>