Flow

This page shows the source-documented Flow surface: the core type and module functions.

Core type

  • FsFlow.Flow: Represents a cold workflow that reads an environment, returns a typed result, and is executed explicitly through Flow.run.

Module functions

Concurrency

Parallel orchestration

  • FsFlow.Flow.zipPar: Combines two flows into a tuple of their values, running them concurrently.
  • FsFlow.Flow.race: Runs two flows concurrently and returns the result of the first one to complete.