import * as T from "../_internal/effect";
import { unfoldChunkM } from "./unfoldChunkM";
/**
 * Creates a stream by peeling off the "layers" of a value of type `S`.
 */

export function unfoldChunk(s, f) {
  return unfoldChunkM(s, s => T.succeed(f(s)));
}
//# sourceMappingURL=unfoldChunk.js.map