Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

MultiplexedSessionPrecommitToken

import type { MultiplexedSessionPrecommitToken } from "https://googleapis.deno.dev/v1/spanner:v1.ts";

When a read-write transaction is executed on a multiplexed session, this precommit token is sent back to the client as a part of the Transaction message in the BeginTransaction response and also as a part of the ResultSet and PartialResultSet responses.

interface MultiplexedSessionPrecommitToken {
precommitToken?: Uint8Array;
seqNum?: number;
}

§Properties

§
precommitToken?: Uint8Array
[src]

Opaque precommit token.

§
seqNum?: number
[src]

An incrementing seq number is generated on every precommit token that is returned. Clients should remember the precommit token with the highest sequence number from the current transaction attempt.