Add basic concepts for event bus, and implement in request and model
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
9
src/orm/model/events/ModelUpdatedEvent.ts
Normal file
9
src/orm/model/events/ModelUpdatedEvent.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import {Model} from '../Model'
|
||||
import {ModelEvent} from './ModelEvent'
|
||||
|
||||
/**
|
||||
* Event fired right after a model's data is updated.
|
||||
*/
|
||||
export class ModelUpdatedEvent<T extends Model<T>> extends ModelEvent<T> {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user