Skip to main content
Version: 4.4

Class: TransactionEventBroadcaster#

core.TransactionEventBroadcaster

Hierarchy#

  • TransactionEventBroadcaster

Constructors#

constructor#

+ new TransactionEventBroadcaster(em: EntityManager<IDatabaseDriver<Connection>>, uow?: UnitOfWork): TransactionEventBroadcaster

Parameters:#

NameType
emEntityManager<IDatabaseDriver<Connection>>
uow?UnitOfWork

Returns: TransactionEventBroadcaster

Defined in: packages/core/src/events/TransactionEventBroadcaster.ts:8

Properties#

eventManager#

Private Readonly eventManager: EventManager

Defined in: packages/core/src/events/TransactionEventBroadcaster.ts:8

Methods#

dispatchEvent#

dispatchEvent(event: TransactionEventType, transaction?: any): Promise<void>

Parameters:#

NameType
eventTransactionEventType
transaction?any

Returns: Promise<void>

Defined in: packages/core/src/events/TransactionEventBroadcaster.ts:13

Last updated on by Martin Adámek