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

Method ackConsumed

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

Consumer-side ack: one event has been fully processed (not just received).

()

Source from the content-addressed store, hash-verified

91
92 /** Consumer-side ack: one event has been fully processed (not just received). */
93 ackConsumed(): void {
94 this.consumedCount += 1;
95 this.wake();
96 }
97
98 /** The consumer stopped pulling; wake waiters so they can observe it. */
99 noteConsumerDetached(): void {

Callers 3

durableEventSinkFunction · 0.95
drainMethod · 0.80

Calls 1

wakeMethod · 0.95

Tested by 1

durableEventSinkFunction · 0.76