effect@3.8.5
·
1606 commits
to main
since this release
Patch Changes
-
#3734
88e85dbThanks @mikearnaldi! - Ensure random numbers are correctly distributed -
#3717
83887caThanks @mikearnaldi! - Consider async operation in runSync as a defect, add span based stack -
#3731
5266b6cThanks @patroza! - Improve DX of type errors from insidepipeandflow -
#3699
cdead5cThanks @jessekelly881! - added Stream.mergeWithTagCombines a struct of streams into a single stream of tagged values where the tag is the key of the struct.
import { Stream } from "effect" // Stream.Stream<{ _tag: "a"; value: number; } | { _tag: "b"; value: string; }> const stream = Stream.mergeWithTag( { a: Stream.make(0), b: Stream.make("") }, { concurrency: 1 } )