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

Method Terminate

eventloop/eventloop.go:289–312  ·  view source on GitHub ↗

Terminate stops the loop and clears all active timeouts and intervals. After it returns there are no active timers or goroutines associated with the loop. Any attempt to submit a task (by using RunOnLoop(), SetTimeout() or SetInterval()) will not succeed. After being terminated the loop can be resta

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

TestEventLoop_TerminateFunction · 0.95

Calls 3

StopMethod · 0.95
runAuxMethod · 0.95
removeJobMethod · 0.95

Tested by 2

TestEventLoop_TerminateFunction · 0.76