@hazae41/glacier
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -47,3 +47,3 @@ import { Mutex } from '@hazae41/mutex'; | ||
readonly storeds: Map<string, RawState<any, any>>; | ||
readonly promises: Map<string, Promise<State<any, any>>>; | ||
readonly promises: Map<string, Promise<unknown>>; | ||
readonly aborters: Map<string, AbortController>; | ||
@@ -58,4 +58,4 @@ readonly timeouts: Map<string, NodeJS.Timeout>; | ||
getOrCreateMutex(cacheKey: string): Mutex<void>; | ||
fetchOrReplace<D, F>(cacheKey: string, aborter: AbortController, callback: () => Promise<State<D, F>>): Promise<State<D, F>>; | ||
fetchOrJoin<D, F>(cacheKey: string, aborter: AbortController, callback: () => Promise<State<D, F>>): Promise<State<D, F>>; | ||
runOrReplace<T>(cacheKey: string, aborter: AbortController, callback: () => Promise<T>): Promise<T>; | ||
runOrJoin<T>(cacheKey: string, aborter: AbortController, callback: () => Promise<T>): Promise<T>; | ||
getOrThrow<K, D, F>(cacheKey: string, settings: QuerySettings<K, D, F>): Promise<State<D, F>>; | ||
@@ -62,0 +62,0 @@ tryGet<K, D, F>(cacheKey: string, settings: QuerySettings<K, D, F>): Promise<Result<State<D, F>, Error>>; |
{ | ||
"type": "module", | ||
"name": "@hazae41/glacier", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"author": "hazae41", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
578891
6191