MCPcopy Create free account
hub / github.com/Effect-TS/effect / clear

Function clear

packages/effect/src/TxHashSet.ts:531–531  ·  view source on GitHub ↗
(self: TxHashSet<V>)

Source from the content-addressed store, hash-verified

529 * @since 4.0.0
530 */
531export const clear = <V>(self: TxHashSet<V>): Effect.Effect<void> => TxRef.set(self.ref, HashSet.empty<V>())
532
533/**
534 * Creates the union of two TxHashSets, returning a new TxHashSet.

Callers

nothing calls this directly

Calls 1

setMethod · 0.65

Tested by

no test coverage detected