/** * Creates a single-valued pure stream. * * @tsplus static effect/core/stream/Stream.Ops sync */ export function sync(a: LazyArg): Stream { return Stream.suspend(Stream.fromChunk(Chunk.single(a()))) }