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.

AsyncErrorMessage

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

A later async resolution failed. Carries the query and package that failed, plus the structured error flattened the same way a ErrorMessage is, so the main side reads the same code/category/message it would in-process. Like AsyncUpdateMessage it has no id: a failed resolution is a broadcast, not the rejection of one request’s promise.

error: SerializedEngineError;

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


kind: "async-error";

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


packageId: string;

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


queryKey: string;

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