MCPcopy Create free account
hub / github.com/apache/cloudstack / sleep

Method sleep

systemvm/agent/noVNC/core/rfb.js:461–463  ·  view source on GitHub ↗
(time)

Source from the content-addressed store, hash-verified

459
460 sendText(text) {
461 const sleep = (time) => {
462 return new Promise(resolve => setTimeout(resolve, time))
463 }
464
465 const keyboardTypeText = async () => {
466 for (var i = 0; i < text.length; i++) {

Callers 15

setup_apacheMethod · 0.45
createConnectionMethod · 0.45
__pollMethod · 0.45
runMethod · 0.45
is_server_ssh_readyFunction · 0.45
get_process_statusFunction · 0.45
createMethod · 0.45
downloadMethod · 0.45
downloadMethod · 0.45
deleteMethod · 0.45

Calls

no outgoing calls

Tested by 15

setup_apacheMethod · 0.36
runJobMethod · 0.36
mainLoopMethod · 0.36
runMethod · 0.36
runMethod · 0.36
waitSecondsMethod · 0.36
runMethod · 0.36
testCacheExpirationMethod · 0.36