MCPcopy Create free account
hub / github.com/RtlZeroMemory/Rezi / waitForWrite

Method waitForWrite

packages/bench/src/backends.ts:204–208  ·  view source on GitHub ↗

* Returns a promise that resolves on the next _write call. * Call BEFORE triggering the re-render.

()

Source from the content-addressed store, hash-verified

202 * Call BEFORE triggering the re-render.
203 */
204 waitForWrite(): Promise<void> {
205 return new Promise<void>((resolve) => {
206 this.writeResolvers.push(resolve);
207 });
208 }
209
210 reset(): void {
211 this.writeCount = 0;

Callers

nothing calls this directly

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected