MCPcopy Create free account
hub / github.com/ckeditor/ckeditor5-react / timeout

Function timeout

tests/_utils/timeout.js:6–10  ·  view source on GitHub ↗
( ms )

Source from the content-addressed store, hash-verified

4 */
5
6export function timeout( ms ) {
7 return new Promise( resolve => {
8 setTimeout( resolve, ms );
9 } );
10}

Callers 10

testSemaphoreForWatchdogFunction · 0.90
createMethod · 0.90
turnOffErrorsFunction · 0.90
testSemaphoreForWatchdogFunction · 0.90
createMethod · 0.90
createAndDestroyFunction · 0.90

Calls

no outgoing calls

Tested by 5

testSemaphoreForWatchdogFunction · 0.72
createMethod · 0.72
testSemaphoreForWatchdogFunction · 0.72
createMethod · 0.72
createAndDestroyFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…