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

Method noteConsumerDetached

packages/runtime/src/async-queue.ts:99–103  ·  view source on GitHub ↗

The consumer stopped pulling; wake waiters so they can observe it.

()

Source from the content-addressed store, hash-verified

97
98 /** The consumer stopped pulling; wake waiters so they can observe it. */
99 noteConsumerDetached(): void {
100 if (this.consumerDetached) return;
101 this.consumerDetached = true;
102 this.wake();
103 }
104
105 /** Resolves on the next push/ack/close/error/wake — a condition-variable wait. */
106 waitForProgress(): Promise<void> {

Callers 2

drainMethod · 0.80

Calls 1

wakeMethod · 0.95

Tested by

no test coverage detected