import * as tsplus_module_1 from "@tsplus/stdlib/collections/Chunk/empty";
import * as tsplus_module_2 from "@tsplus/stdlib/collections/Chunk/isEmpty";
import * as tsplus_module_3 from "@effect/core/stream/Channel/operations/buffer";
/**
 * @tsplus static ets/Channel/Ops bufferChunk
 */

export function bufferChunk(ref) {
  return tsplus_module_3.buffer(tsplus_module_1.empty(), chunk => tsplus_module_2.isEmpty(chunk), ref);
}
//# sourceMappingURL=bufferChunk.mjs.map