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.

AsyncUpdateMessage

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

A later async resolution settled, and these lines now carry live data.

Unlike a ResultMessage this has no id: a resolution is not the answer to one request, it arrives whenever the live value lands, so it is a broadcast the main side routes to its subscribers rather than to a pending promise. lines is a batch because the engine collapses every resolution that settles in one tick into a single update.

kind: "async-update";

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


lines: AsyncResolvedLine[];

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