FsFlow.Flow.run

Executes a flow with the provided environment and the default cancellation token.

Examples

let flow = Flow.read (fun env -> $"Hello, {env}!")
 let result = Flow.run "World" flow
 // result = Effect that resolves to Success "Hello, World!" on both .NET and Fable