@midwayjs/coreClassesDataListenerVersion: NextSur cette pageabstractDataListener <T>Index ConstructorsconstructorMethodsgetDatainitDataonDatastopConstructors constructornew DataListener<T>(): DataListener<T>Type parametersTMethods publicgetDatagetData(): TabstractinitDatainitData(): T | Promise<T>abstractonDataonData(callback: (data: T) => void): anypublicstopstop(): Promise<void>