Implement scopes on models and support interacting with them via ModelBuilder
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:
@@ -1,4 +1,5 @@
|
||||
import {Collection} from './Collection'
|
||||
import {InjectionAware} from '../../di'
|
||||
|
||||
export type MaybeIterationItem<T> = { done: boolean, value?: T }
|
||||
export type ChunkCallback<T> = (items: Collection<T>) => any
|
||||
@@ -9,7 +10,7 @@ export class StopIteration extends Error {}
|
||||
* Abstract class representing an iterable, lazy-loaded dataset.
|
||||
* @abstract
|
||||
*/
|
||||
export abstract class Iterable<T> {
|
||||
export abstract class Iterable<T> extends InjectionAware {
|
||||
/**
|
||||
* The current index of the iterable.
|
||||
* @type number
|
||||
|
||||
Reference in New Issue
Block a user