MCPcopy Create free account
hub / github.com/cogentcore/core / CancelExecution

Method CancelExecution

shell/exec.go:330–334  ·  view source on GitHub ↗

CancelExecution calls the Cancel() function if set.

()

Source from the content-addressed store, hash-verified

328
329// CancelExecution calls the Cancel() function if set.
330func (sh *Shell) CancelExecution() {
331 if sh.Cancel != nil {
332 sh.Cancel()
333 }
334}

Callers 2

AddErrorMethod · 0.95
MonitorSignalsMethod · 0.80

Calls 1

CancelMethod · 0.80

Tested by

no test coverage detected