import { TakeInternal } from "@effect/core/stream/Take/operations/_internal/TakeInternal" /** * Creates a `Take` with a singleton chunk. * * @tsplus static effect/core/stream/Take.Ops single */ export function single(a: A): Take { return new TakeInternal(Exit.succeed(Chunk.single(a))) }