mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 15:53:27 +00:00
formatting fix
This commit is contained in:
@@ -24,7 +24,7 @@ export function sequentialize(cacheKey: (args: any[]) => string) {
|
||||
};
|
||||
|
||||
return {
|
||||
value: function (...args: any[]) {
|
||||
value: function(...args: any[]) {
|
||||
const cache = getCache(this);
|
||||
const argsCacheKey = cacheKey(args);
|
||||
let response = cache.get(argsCacheKey);
|
||||
|
||||
@@ -21,7 +21,7 @@ export function throttle(limit: number, throttleKey: (args: any[]) => string) {
|
||||
};
|
||||
|
||||
return {
|
||||
value: function (...args: any[]) {
|
||||
value: function(...args: any[]) {
|
||||
const throttles = getThrottles(this);
|
||||
const argsThrottleKey = throttleKey(args);
|
||||
let queue = throttles.get(argsThrottleKey);
|
||||
|
||||
Reference in New Issue
Block a user