Skip to content

This site describes solve-engine as it is on main: 2.43.0, which npm does not have yet. npm installs 2.40.0, so a page may show an answer that version does not give yet.

WorkerMethod

type WorkerMethod =
| "parseDocument"
| "evaluateLines"
| "evaluateExpression"
| "evaluateDocument"
| "whatIf"
| "explainLine"
| "traceLine"
| "settle"
| "getSemanticTokens"
| "getCompletions"
| "findReferences"
| "getDefinition"
| "rename"
| "shiftLineReferences";

Defined in: packages/engine/src/worker/protocol.ts:25

The methods the harness proxies: the evaluate methods, the host calls a whole-document feature needs (goal seek through evaluateDocument, what-if, explain, trace, settle), and the language service’s editor calls.