import { TakeInternal } from "@effect/core/stream/Take/operations/_internal/TakeInternal" /** * Creates a `Take` from `Exit`. * * @tsplus static effect/core/stream/Take.Ops done */ export function fromExit(exit: Exit): Take { return new TakeInternal(exit.mapBoth(Maybe.some, Chunk.single)) }