MCPcopy Create free account
hub / github.com/dop251/goja_nodejs / Stop

Method Stop

eventloop/eventloop.go:262–271  ·  view source on GitHub ↗

Stop the loop that was started with Start(). After this function returns there will be no more jobs executed by the loop. It is possible to call Start() or Run() again after this to resume the execution. Note, it does not cancel active timeouts (use Terminate() instead if you want this). It is not a

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 10

TerminateMethod · 0.95
TestStartFunction · 0.95
TestStartInForegroundFunction · 0.95
TestSetTimeoutConcurrentFunction · 0.95
TestRunOnStoppedLoopFunction · 0.95
TestPromiseNativeFunction · 0.95
doCancelMethod · 0.80
runMethod · 0.80

Calls 1

wakeupMethod · 0.95

Tested by 7

TestStartFunction · 0.76
TestStartInForegroundFunction · 0.76
TestSetTimeoutConcurrentFunction · 0.76
TestRunOnStoppedLoopFunction · 0.76
TestPromiseNativeFunction · 0.76