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

Method waitForFrame

packages/bench/src/backends.ts:129–133  ·  view source on GitHub ↗

* Returns a promise that resolves on the next requestFrame call. * Call this BEFORE triggering the state change that produces the frame.

()

Source from the content-addressed store, hash-verified

127 * Call this BEFORE triggering the state change that produces the frame.
128 */
129 waitForFrame(): Promise<void> {
130 return new Promise<void>((resolve) => {
131 this.frameResolvers.push(resolve);
132 });
133 }
134
135 pollEvents(): Promise<BackendEventBatch> {
136 if (this.stopped) {

Callers 6

mainFunction · 0.95
mainFunction · 0.95
mainFunction · 0.95
runReziFunction · 0.95
runReziFunction · 0.95
runReziFunction · 0.95

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected