MCPcopy
hub / github.com/mailvelope/mailvelope / checkEvent

Method checkEvent

test/integration/__mocks__/chrome-api-setup.js:203–211  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

201 }, timeout);
202
203 const checkEvent = () => {
204 const event = this._capturedEvents.find(e => e.event === eventType);
205 if (event) {
206 clearTimeout(timeoutId);
207 resolve(event);
208 } else {
209 setTimeout(checkEvent, 10);
210 }
211 };
212 checkEvent();
213 });
214 }

Callers

nothing calls this directly

Calls 1

resolveFunction · 0.85

Tested by

no test coverage detected