ElmishRuntimeType
PackageAxial.ElmishFlows
Owns the root scope for all commands in one Elmish program.
Specification
Kind
Type
Members
7
Examples
0
startSignature
ElmishRuntime.start options environment
startLayerSignature
ElmishRuntime.startLayer options layer input
testSignature
ElmishRuntime.test clock environment
StopSignature
this.Stop
StopAndWaitSignature
this.StopAndWait
Summary
| Name | Signature | Synopsis |
|---|---|---|
| Operations | ||
| start | ElmishRuntime.start options environment | Starts a runtime around a caller-supplied environment. |
| startLayer | ElmishRuntime.startLayer options layer input | Starts a runtime by provisioning a layer inside the runtime's root scope. |
| test | ElmishRuntime.test clock environment | Creates a runtime with queued dispatch and captured defects for tests. |
| Stop | this.Stop | No description available. |
| StopAndWait | this.StopAndWait | No description available. |
| Environment | this.Environment | No description available. |
| Registry | this.Registry | No description available. |
Operations
kind:member
kind:member
Starts a runtime by provisioning a layer inside the runtime's root scope.
Parameters
| Name | Type | Description |
|---|---|---|
| options | ElmishRuntimeOptions | Host delivery and diagnostic policy. |
| layer | Layer<'input, 'error, 'env> | The layer that builds the runtime's environment. |
| input | 'input | The input environment required to build the layer. |
Returns
Async<Result<ElmishRuntime<'env>, 'error>>
kind:member

