Repository F# setup
open System
open System.IO
open System.Threading
open System.Threading.Tasks
open Axial
open Axial.Layers
open Axial.Console
open Axial.FileSystem
open Axial.Hosting
open Axial.Hosting.Browser
open Axial.Hosting.Node
open Axial.HttpClient
open Axial.PlatformService
open Axial.Process
open Axial.State
open Axial.Telemetry
open Axial.Telemetry.JavaScriptCombining Flows
Use Flow.map when only the successful value changes:
loadUser userId
|> Flow.map _.DisplayNameloadUser userId
|> Flow.mapError UserLoadFailedloadUser userId
|> Flow.bind sendGreetingFlow.zip loadProfile loadPreferences
// Flow<AppEnv, AppError, Profile * Preferences>Prefer flow {} for a longer dependent sequence and pipelines for a short transformation. They create the same Flow
model and differ only in how the code reads.
Go Further
- Composition reference lists mapping, binding, recovery, traversal, and sequential combination functions.
- Fibers introduces explicit child workflows.
- Schedules adds retry and repetition policies without changing the underlying workflow.

