How to use the @most/scheduler.currentTime 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 / combinator / switch.ts View on Github external
dispose(): void {
    return this.disposeCurrent(currentTime(this.scheduler))
  }
github mostjs / core / packages / core / src / combinator / promises.ts View on Github external
  private endBound = (): void => this.sink.end(currentTime(this.scheduler))
  private errorBound = (e: Error): void => this.sink.error(currentTime(this.scheduler), e)
github mostjs / core / packages / core / src / combinator / promises.ts View on Github external
  private errorBound = (e: Error): void => this.sink.error(currentTime(this.scheduler), e)
}
github mostjs / core / packages / core / src / combinator / promises.ts View on Github external
  private eventBound = (x: A): void => this.sink.event(currentTime(this.scheduler), x)
  private endBound = (): void => this.sink.end(currentTime(this.scheduler))

@most/scheduler

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

MIT
Latest version published 4 years ago

Package Health Score

54 / 100
Full package analysis