Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Transaction

Hierarchy

  • Transaction

Index

Constructors

constructor

Properties

Optional _pinnedServer

_pinnedServer: Server
internal

Optional _recoveryToken

_recoveryToken: Document
internal

options

state

state: TxnState
internal

Accessors

isActive

  • get isActive(): 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

    internal

    Parameters

    • nextState: TxnState

      The new state to transition to

    Returns void

unpinServer

  • unpinServer(): void

Generated using TypeDoc