Interface for models using
in minimal mode. Use TypeScript interface merging to add the futureHandler property to your model class.
Add ESLint disable comment at top of file, then:
interface BackgroundServiceModelImpl extends KosFutureAwareMinimal {}kosFutureAware({ mode: 'minimal' })class BackgroundServiceModelImpl implements IKosDataModel { // futureHandler is now available via interface merging} Copy
interface BackgroundServiceModelImpl extends KosFutureAwareMinimal {}kosFutureAware({ mode: 'minimal' })class BackgroundServiceModelImpl implements IKosDataModel { // futureHandler is now available via interface merging}
Core future management container that handles Future lifecycle operations. Provides methods to add, remove, and query Future instances. Automatically injected by
decorator.
Interface for models using
Kos Future Aware
in minimal mode. Use TypeScript interface merging to add the futureHandler property to your model class.
Example
Add ESLint disable comment at top of file, then: