mirror of
https://git.um-react.app/um/um-react.git
synced 2026-11-26 07:06:59 +00:00
chore: reformat project
This commit is contained in:
1 parent
009804cbbd
commit
c1a5c6bde6
5 files changed
+14
-12
No files matched your search
@@ -5,7 +5,10 @@ import { ConcurrentQueue } from './ConcurrentQueue';
|
||||
import { WorkerClientBus } from './WorkerEventBus';
|
||||
|
||||
export class DecryptionQueue extends ConcurrentQueue<DecryptCommandPayload, DecryptionResult> {
|
||||
constructor(private workerClientBus: WorkerClientBus<DECRYPTION_WORKER_ACTION_NAME>, maxQueue?: number) {
|
||||
constructor(
|
||||
private workerClientBus: WorkerClientBus<DECRYPTION_WORKER_ACTION_NAME>,
|
||||
maxQueue?: number,
|
||||
) {
|
||||
super(maxQueue);
|
||||
}
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@ const nextTickFn =
|
||||
typeof setImmediate !== 'undefined'
|
||||
? (setImmediate as NextTickFn)
|
||||
: typeof requestAnimationFrame !== 'undefined'
|
||||
? (requestAnimationFrame as NextTickFn)
|
||||
: (setTimeout as NextTickFn);
|
||||
? (requestAnimationFrame as NextTickFn)
|
||||
: (setTimeout as NextTickFn);
|
||||
/* c8 ignore stop */
|
||||
|
||||
export async function nextTickAsync() {
|
||||
|
||||
Reference in new issue
Block a user