effect-io-ai

Package: effect
Module: Micro

Micro.flatten

Flattens any nested Micro effects, merging the error and requirement types.

Signature

declare const flatten: <A, E, R, E2, R2>(self: Micro<Micro<A, E, R>, E2, R2>) => Micro<A, E | E2, R | R2>

Source

Since v3.4.0