SendResult
type SendResult = | { messageId: string; ok: true; outcome: "accepted" | "unknown";} | { error: DisplayError; input?: SendInput; ok: false;};Defined in: react/src/client.ts:275
ok means the message stays in the conversation, not that delivery is confirmed. Clear
a submitted draft only when outcome is accepted. An unknown outcome stays visible while
observation checks the host. Otherwise input is what was taken back, so the draft can keep it.