Files
mudita-center/__mocks__/p-queue.ts
2024-08-07 15:32:50 +02:00

16 lines
292 B
TypeScript

/**
* Copyright (c) Mudita sp. z o.o. All rights reserved.
* For licensing, see https://github.com/mudita/mudita-center/blob/master/LICENSE.md
*/
export default class PQueue {
constructor() {
return this;
}
add(fn: () => void) {
return fn();
}
pause() {}
clear() {}
}