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

Method push

packages/effect/src/unstable/reactivity/AtomRef.ts:326–331  ·  view source on GitHub ↗
(item: A)

Source from the content-addressed store, hash-verified

324 }
325
326 push(item: A) {
327 const ref = this.makeRef(item)
328 this.value.push(ref)
329 this.notify(this.value)
330 return this
331 }
332
333 insertAt(index: number, item: A) {
334 const ref = this.makeRef(item)

Callers 15

visitFunction · 0.80
lineNumberAtFunction · 0.80
OpenApiPatch.tsFile · 0.80
spreadElementsIntoFunction · 0.80
parseOpenApiFunction · 0.80
buildParameterSchemaFunction · 0.80
parseSecuritySchemesFunction · 0.80
processPathFunction · 0.80
groupOperationsFunction · 0.80

Calls 2

makeRefMethod · 0.95
notifyMethod · 0.95

Tested by 15

execMethod · 0.64
addEventListenerFunction · 0.64
removeEventListenerFunction · 0.64
getRandomValuesFunction · 0.64
writeFunction · 0.64
readFunction · 0.64
writeFunction · 0.64
connectWebSocketFunction · 0.64
addEventListenerFunction · 0.64