Patch Changes
-
#2172
5d47ee0
Thanks @gcanti! - Brand: addrefined
overloadexport function refined<A extends Brand<any>>( f: (unbranded: Brand.Unbranded<A>) => Option.Option<Brand.BrandErrors>, ): Brand.Constructor<A>;
-
#2285
817a04c
Thanks @tim-smart! - add support for AbortSignal's to runPromiseIf the signal is aborted, the effect execution will be interrupted.
import { Effect } from "effect"; const controller = new AbortController(); Effect.runPromise(Effect.never, { signal: controller.signal }); // abort after 1 second setTimeout(() => controller.abort(), 1000);
-
#2293
d90a99d
Thanks @tim-smart! - add AbortSignal support to ManagedRuntime -
#2288
dd05faa
Thanks @tim-smart! - optimize addition of blocked requests to parallel collection -
#2288
dd05faa
Thanks @tim-smart! - use Chunk for request block collections -
#2280
802674b
Thanks @jessekelly881! - added support for PromiseLike