MCPcopy
hub / github.com/rx-angular/rx-angular / withScheduler

Function withScheduler

libs/state/src/lib/provide-rx-state-config.ts:68–75  ·  view source on GitHub ↗
(
  scheduler: SchedulerLike | 'sync',
)

Source from the content-addressed store, hash-verified

66 * @param scheduler
67 */
68export function withScheduler(
69 scheduler: SchedulerLike | 'sync',
70): RxStateConfigFn {
71 return {
72 kind: 'Scheduler',
73 providers: [{ provide: RX_STATE_SCHEDULER, useValue: scheduler }],
74 };
75}
76
77/**
78 * Provider function to specify synchronous (no) scheduling for `RxState`. The state computations

Callers 1

rx-state.spec.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected