Skip to main content
Version: Next

EventSubscriber <T>

Index

Methods

optionalafterCreate

  • afterCreate(args: EventArgs<T>): void | Promise<void>
  • Parameters

    Returns void | Promise<void>

optionalafterDelete

  • afterDelete(args: EventArgs<T>): void | Promise<void>
  • Parameters

    Returns void | Promise<void>

optionalafterFlush

optionalafterTransactionCommit

optionalafterTransactionRollback

optionalafterTransactionStart

optionalafterUpdate

  • afterUpdate(args: EventArgs<T>): void | Promise<void>
  • Parameters

    Returns void | Promise<void>

optionalafterUpsert

  • afterUpsert(args: EventArgs<T>): void | Promise<void>
  • Parameters

    Returns void | Promise<void>

optionalbeforeCreate

  • beforeCreate(args: EventArgs<T>): void | Promise<void>
  • Parameters

    Returns void | Promise<void>

optionalbeforeDelete

  • beforeDelete(args: EventArgs<T>): void | Promise<void>
  • Parameters

    Returns void | Promise<void>

optionalbeforeFlush

optionalbeforeTransactionCommit

optionalbeforeTransactionRollback

optionalbeforeTransactionStart

optionalbeforeUpdate

  • beforeUpdate(args: EventArgs<T>): void | Promise<void>
  • Parameters

    Returns void | Promise<void>

optionalbeforeUpsert

  • beforeUpsert(args: EventArgs<T>): void | Promise<void>
  • Parameters

    Returns void | Promise<void>

optionalgetSubscribedEntities

optionalonFlush

optionalonInit

optionalonLoad

  • onLoad(args: EventArgs<T>): void | Promise<void>
  • Parameters

    Returns void | Promise<void>