diff options
Diffstat (limited to 'node_modules/rxjs/dist/esm/internal/Scheduler.js')
| -rw-r--r-- | node_modules/rxjs/dist/esm/internal/Scheduler.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/node_modules/rxjs/dist/esm/internal/Scheduler.js b/node_modules/rxjs/dist/esm/internal/Scheduler.js new file mode 100644 index 0000000..f803a78 --- /dev/null +++ b/node_modules/rxjs/dist/esm/internal/Scheduler.js @@ -0,0 +1,12 @@ +import { dateTimestampProvider } from './scheduler/dateTimestampProvider'; +export class Scheduler { + constructor(schedulerActionCtor, now = Scheduler.now) { + this.schedulerActionCtor = schedulerActionCtor; + this.now = now; + } + schedule(work, delay = 0, state) { + return new this.schedulerActionCtor(this, work).schedule(state, delay); + } +} +Scheduler.now = dateTimestampProvider.now; +//# sourceMappingURL=Scheduler.js.map
\ No newline at end of file |
