Connectum API Reference / @connectum/test-fixtures / types / MockStreamOptions
Interface: MockStreamOptions ​
Defined in: types.ts:134
Options for createMockStream.
Properties ​
delayMs? ​
optionaldelayMs?:number
Defined in: types.ts:140
Delay in milliseconds before each yielded item: a finite number from 0 to 2147483647 (0 or omitted means no delay). Any other value throws, because the timer would turn it into 1 ms.