rx-queue
Version:
Easy to Use ReactiveX Queue that Supports Delay/DelayExecutor/Throttle/Debounce/Concurrency Features Powered by RxJS/IxJS
18 lines • 451 B
TypeScript
import RxQueue from '../rx-queue.js';
/**
* DelayQueue passes all the items and add delays between items.
* T: item type
*/
export declare class DelayQueue<T = unknown> extends RxQueue<T> {
private subscription;
private subject;
/**
*
* @param period milliseconds
*/
constructor(period?: number);
next(item: T): void;
unsubscribe(): void;
}
export default DelayQueue;
//# sourceMappingURL=delay-queue.d.ts.map