Minor Changes
-
#2778
146cadd
Thanks @tim-smart! - Add Stream.toReadableStreamEffect / .toReadableStreamRuntime -
#2778
7135748
Thanks @tim-smart! - add Cause.prettyErrors apiYou can use this to extract
Error
instances from aCause
, that have clean stack traces and have had span information added to them. -
#2778
963b4e7
Thanks @tim-smart! - add Chunk.difference & Chunk.differenceWith -
#2778
64c9414
Thanks @tim-smart! - Improve causal rendering in vitest by rethrowing pretty errors -
#2778
7135748
Thanks @tim-smart! - add Effect.functionWithSpanAllows you to define an effectful function that is wrapped with a span.
import { Effect } from "effect"; const getTodo = Effect.functionWithSpan({ body: (id: number) => Effect.succeed(`Got todo ${id}!`), options: (id) => ({ name: `getTodo-${id}`, attributes: { id }, }), });
-
#2778
2cbb76b
Thanks @tim-smart! - Add do notation for Array -
#2778
870c5fa
Thanks @tim-smart! - support $is & $match for Data.TaggedEnum with generics -
#2778
7135748
Thanks @tim-smart! - capture stack trace for tracing spans
Patch Changes
-
#2778
7135748
Thanks @tim-smart! - add span stack trace to rendered causes -
#2778
64c9414
Thanks @tim-smart! - Consider Generator.next a cutpoint