/** * Collects all the transactional effects in a collection, returning a single * transactional effect that produces a collection of values. * * @tsplus static effect/core/stm/STM.Ops collectAll */ export function collectAll(as: Collection>): STM> { return STM.forEach(as, identity) }