Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Transaction

Hierarchy

  • Transaction

Index

Constructors

constructor

Properties

Optional _pinnedServer

_pinnedServer?: Server

Optional _recoveryToken

_recoveryToken?: Document

options

state

state: TxnState

Accessors

isActive

  • get isActive(): boolean

isCommitted

  • get isCommitted(): boolean

isPinned

  • get isPinned(): boolean

isStarting

  • get isStarting(): boolean

recoveryToken

  • get recoveryToken(): undefined | Document

server

  • get server(): undefined | Server

Methods

pinServer

  • pinServer(server: Server): void

transition

  • Transition the transaction in the state machine

    Parameters

    • nextState: TxnState

      The new state to transition to

    Returns void

unpinServer

  • unpinServer(): void

Generated using TypeDoc