Skip to content
providerkit
GitHub

RequestView

Defined in: react/src/client.ts:216

A request the run waits on, with what this client did about it.

optional canReconcile?: boolean;

Defined in: react/src/client.ts:222

A manual check can reconcile a durable claim or deliver a retained result, without rerunning.


optional canRespond?: boolean;

Defined in: react/src/client.ts:219

Capabilities of this client, not execution permission. Absent for plain-data hosts.


optional canRun?: boolean;

Defined in: react/src/client.ts:220


optional local?: object;

Defined in: react/src/client.ts:226

An answer from this client that the host has not acted on yet.

optional error?: DisplayError;
response: RequestResponse;
status: "failed" | "unconfirmed" | "submitting";

submitting: on its way, so the buttons wait. unconfirmed: it may or may not have arrived. The client watches the host, and sends it again only when the person does. failed: the host turned it down, and the person can answer again.


messageId: string;

Defined in: react/src/client.ts:224

The message the request sits in.


part: RequestPart;

Defined in: react/src/client.ts:217