Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Transaction

Hierarchy

  • Transaction

Index

Constructors

Properties

_pinnedServer?: Server
_recoveryToken?: Document
state: TxnState

Accessors

  • get isActive(): boolean
  • get isCommitted(): boolean
  • get isPinned(): boolean
  • get isStarting(): boolean
  • get recoveryToken(): undefined | Document
  • get server(): undefined | Server

Methods

  • pinServer(server: Server): void
  • Transition the transaction in the state machine

    Parameters

    • nextState: TxnState

      The new state to transition to

    Returns void

  • unpinServer(): void

Generated using TypeDoc