RestorePointResult:
    | { outcome: "none" }
    | { outcome: "signed"; signedObject: SignedObject; token: RequestToken }
    | { outcome: "pending"; token: RequestToken }

Type declaration

  • { outcome: "none" }

    No usable restore point; the current token (if any) was saved under the key.

  • { outcome: "signed"; signedObject: SignedObject; token: RequestToken }

    Document was signed while the page was away. Restore point cleaned up.

  • { outcome: "pending"; token: RequestToken }

    In-progress request restored; continue waiting for the signature.