Version: 4.3

Interface: EventSubscriber<T>

Type parameters

NameDefault
Tany

Hierarchy

  • EventSubscriber

Methods

afterCreate

OptionalafterCreate(args: EventArgs<T>): Promise<void>

Defined in packages/core/src/events/EventSubscriber.ts:19

Parameters:

NameType
argsEventArgs<T>

Returns: Promise<void>


afterDelete

OptionalafterDelete(args: EventArgs<T>): Promise<void>

Defined in packages/core/src/events/EventSubscriber.ts:23

Parameters:

NameType
argsEventArgs<T>

Returns: Promise<void>


afterFlush

OptionalafterFlush(args: FlushEventArgs): Promise<void>

Defined in packages/core/src/events/EventSubscriber.ts:26

Parameters:

NameType
argsFlushEventArgs

Returns: Promise<void>


afterUpdate

OptionalafterUpdate(args: EventArgs<T>): Promise<void>

Defined in packages/core/src/events/EventSubscriber.ts:21

Parameters:

NameType
argsEventArgs<T>

Returns: Promise<void>


beforeCreate

OptionalbeforeCreate(args: EventArgs<T>): Promise<void>

Defined in packages/core/src/events/EventSubscriber.ts:18

Parameters:

NameType
argsEventArgs<T>

Returns: Promise<void>


beforeDelete

OptionalbeforeDelete(args: EventArgs<T>): Promise<void>

Defined in packages/core/src/events/EventSubscriber.ts:22

Parameters:

NameType
argsEventArgs<T>

Returns: Promise<void>


beforeFlush

OptionalbeforeFlush(args: FlushEventArgs): Promise<void>

Defined in packages/core/src/events/EventSubscriber.ts:24

Parameters:

NameType
argsFlushEventArgs

Returns: Promise<void>


beforeUpdate

OptionalbeforeUpdate(args: EventArgs<T>): Promise<void>

Defined in packages/core/src/events/EventSubscriber.ts:20

Parameters:

NameType
argsEventArgs<T>

Returns: Promise<void>


getSubscribedEntities

OptionalgetSubscribedEntities(): EntityName<T>[]

Defined in packages/core/src/events/EventSubscriber.ts:16

Returns: EntityName<T>[]


onFlush

OptionalonFlush(args: FlushEventArgs): Promise<void>

Defined in packages/core/src/events/EventSubscriber.ts:25

Parameters:

NameType
argsFlushEventArgs

Returns: Promise<void>


onInit

OptionalonInit(args: EventArgs<T>): void

Defined in packages/core/src/events/EventSubscriber.ts:17

Parameters:

NameType
argsEventArgs<T>

Returns: void

Last updated on by Martin Adámek