import * as tsplus_module_1 from "@effect/core/stm/TRef/operations/get";
import * as tsplus_module_2 from "@effect/core/stm/STM/operations/forEach";
import { concreteTArray } from "@effect/core/stm/TArray/operations/_internal/InternalTArray";
/**
 * Collects all elements into a chunk.
 *
 * @tsplus getter ets/TArray toChunk
 */

export function toChunk(self) {
  void 0;
  return tsplus_module_2.forEach(() => self.chunk, tref => tsplus_module_1.get(tref));
}
//# sourceMappingURL=toChunk.mjs.map