How to use the @most/scheduler.periodic function in @most/scheduler

To help you get started, we’ve selected a few @most/scheduler examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github mostjs / core / packages / core / src / source / periodic.ts View on Github external
run(sink: Sink, scheduler: Scheduler): Disposable {
    return schedulePeriodic(this.period, propagateEventTask(undefined, sink), scheduler)
  }
}

@most/scheduler

Reactive programming with lean, functions-only, curried, tree-shakeable API

MIT
Latest version published 4 years ago

Package Health Score

61 / 100
Full package analysis