We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c56037 commit 084ea38Copy full SHA for 084ea38
src/VirtualTestScheduler.ts
@@ -0,0 +1,24 @@
1
+import { VirtualTimeScheduler } from 'rxjs/scheduler/VirtualTimeScheduler';
2
+
3
+/**
4
+ * Configuration options for scheduler instance.
5
+ *
6
+ */
7
+export interface SchedulerStartOptions {
8
+ /**
9
+ * Represents virtual time when scheduler instance is created, start to watch observables
10
11
+ created: number;
12
13
+ subscribed: number;
14
+ unsubscribed: number;
15
+}
16
17
18
+ * Exposes interfaces to control scheduler runs based on virtual time frame,
19
+ * allows to assert / inspect observables synchronously
20
21
22
+export interface VirtualTestScheduler extends VirtualTimeScheduler {
23
+ readonly isFlushing: boolean;
24
0 commit comments