EffectTalk

Effect.all with record

`Effect.all` also works with records. Pass an object: `Effect.all({ a: fetchA, b: fetchB })` returns `{ a, b }`.

Structured parallelism: keys become property names.

  • Use `Effect.all({ key: effect })` for named results
  • Returns object with same keys
  • All run in parallel
Loading code editor...