Compose cancellable F# data workflows

8 steps · about 4 h 20 min · Intermediate

  1. Acquire typed external data (guide, Microsoft Learn, 35 min)

    Bring a real input shape into the program without hand-written parsing boilerplate.

  2. Classify input with active patterns (guide, Microsoft Learn, 35 min)

    Turn validation cases into readable patterns at the workflow boundary.

  3. Keep inputs flexibly typed (reference, Microsoft Learn, 25 min)

    Accept compatible implementations without weakening the output contract.

  4. Attach units to numeric values (guide, Microsoft Learn, 30 min)

    Prevent silent mixing of measurements while transforming records.

  5. Stream records as sequences (guide, Microsoft Learn, 30 min)

    Process input incrementally rather than materializing every stage.

  6. Understand workflow composition (guide, Microsoft Learn, 35 min)

    See how custom sequencing rules support validation and effectful pipelines.

  7. Coordinate asynchronous stages (guide, Microsoft Learn, 40 min)

    Run independent I/O concurrently while preserving cancellation and errors.

  8. Expose the workflow to .NET callers (guide, Microsoft Learn, 30 min)

    Finish with an interoperable task boundary that retains typed workflow results.