import { type Protocol } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { TrustTokenOperationDoneEvent } = Protocol.Network;
Fired exactly once for each Trust Token operation. Depending on the type of the operation and whether the operation succeeded or failed, the event is fired before the corresponding request was sent or after the response was received.
Properties
status: ()
| "Ok"
| "InvalidArgument"
| "FailedPrecondition"
| "ResourceExhausted"
| "AlreadyExists"
| "Unavailable"
| "BadResponse"
| "InternalError"
| "UnknownError"
| "FulfilledLocally"
Detailed success or error status of the operation. 'AlreadyExists' also signifies a successful operation, as the result of the operation already exists und thus, the operation was abort preemptively (e.g. a cache hit). (TrustTokenOperationDoneEventStatus enum)
type: TrustTokenOperationType
requestId: RequestId
optional
issuedTokenCount: integerThe number of obtained Trust Tokens on a successful "Issuance" operation.