MCPcopy
hub / github.com/Effect-TS/effect / makeImpl

Function makeImpl

packages/effect/src/internal/hashMap.ts:96–108  ·  view source on GitHub ↗
(
  editable: boolean,
  edit: number,
  root: Node.Node<K, V>,
  size: number
)

Source from the content-addressed store, hash-verified

94}
95
96const makeImpl = <K, V>(
97 editable: boolean,
98 edit: number,
99 root: Node.Node<K, V>,
100 size: number
101): HashMapImpl<K, V> => {
102 const map = Object.create(HashMapProto)
103 map._editable = editable
104 map._edit = edit
105 map._root = root
106 map._size = size
107 return map
108}
109
110class HashMapIterator<in out K, in out V, out T> implements IterableIterator<T> {
111 v: Option.Option<VisitResult<K, V, T>>

Callers 2

hashMap.tsFile · 0.70
beginMutationFunction · 0.70

Calls 1

createMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…