MCPcopy Create free account
hub / github.com/apache/maka / push

Method push

packages/runtime/src/async-queue.ts:42–45  ·  view source on GitHub ↗
(item: T)

Source from the content-addressed store, hash-verified

40 private progressWaiters: Array<() => void> = [];
41
42 push(item: T): void {
43 if (!this.canEnqueue()) return;
44 this.enqueue(item);
45 }
46
47 /**
48 * Enqueue one item and resolve only after the consumer has fully processed

Callers 1

sendWithinScopeMethod · 0.95

Calls 2

canEnqueueMethod · 0.95
enqueueMethod · 0.95

Tested by

no test coverage detected