onrails
    Preparing search index...
    • Reusable wrapper around Railway.parallel. Branches run concurrently and merge their named outputs back into context.

      Type Parameters

      • R extends BranchRecord

      Parameters

      • branches: R

      Returns <I extends object, E, M extends RailwayMode>(
          workflow: Railway<I, E, M>,
      ) => Railway<I & ParallelOutput<R>, E | BranchErr<R[keyof R]>, "async">