Class Transaction<Arguments, Result, Status>Abstract

Type Parameters

  • Arguments extends unknown[]
  • Result = unknown
  • Status = unknown

Hierarchy (view full)

Constructors

Properties

_open: boolean = true
_result: Deferred<false | Result> = ...
inUse: boolean = false

Whether any actions have been added to the transaction. The Transaction will not self-dispose until at least one action has been performed.

onWillConcludeEmitter: Emitter<OnWillConcludeEvent<Status>> = ...
queue: Mutex = ...

The transaction will self-dispose when the queue is empty, once at least one action has been processed.

status: Deferred<Status> = ...

Accessors

Methods