Repository F# setup
open System
open System.IO
open System.Threading
open System.Threading.Tasks
open Axial
open Axial.Console
open Axial.FileSystem
open Axial.Hosting
open Axial.Hosting.Browser
open Axial.Hosting.Node
open Axial.State
open Axial.Telemetry
open Axial.Telemetry.JavaScript
open Axial.ElmishFlows

Elmish

Axial.ElmishFlows connects an Elmish 5 program to Axial workflows. Install it and open Axial.ElmishFlows:

dotnet add package Axial.ElmishFlows
Verified
open Axial.ElmishFlows

Commands and subscriptions run as Axial flows with the program's runtime services. ElmishRuntime.start supplies the Post and defect callbacks, and TestRuntime drives commands in tests.

Guides

  1. Elmish programs: runtime setup, commands, subscriptions, history, and testing.
  2. Avalonia desktop application: startup, services, UI input, streaming results, shutdown, and a --self-test command-line path.

Reference

The generated ElmishFlows API covers commands, subscriptions, inboxes, the runtime, and the test harness.