MCPcopy Index your code
hub / github.com/coder/coder / IsTerminal

Method IsTerminal

coderd/x/chatd/chatdebug/types.go:44–46  ·  view source on GitHub ↗

IsTerminal reports whether the status represents a final state that should not be overwritten by stale callbacks.

()

Source from the content-addressed store, hash-verified

42// IsTerminal reports whether the status represents a final state
43// that should not be overwritten by stale callbacks.
44func (s Status) IsTerminal() bool {
45 return s.Priority() > 0
46}
47
48// Priority returns a numeric ordering used to prevent stale callbacks
49// from regressing a step's status. Higher values win over lower ones.

Callers 9

UpdateRunMethod · 0.80
UpdateStepMethod · 0.80
finishMethod · 0.80
handleRPTYFunction · 0.80
sshMethod · 0.80
isTTYInFunction · 0.80
isTTYWriterFunction · 0.80
PromptFunction · 0.80
scanner.goFile · 0.80

Calls 1

PriorityMethod · 0.95

Tested by

no test coverage detected