new ItemCacheFacade(): ItemCacheFacade
Returns:
ItemCacheFacadeitemCacheFacade.get(callback): void
Attributes
callback:
CallbackCacheCacheFacade<T>Returns value.
itemCacheFacade.getPromise(): Promise<T>
Returns:
Promise<T>Returns promise with the data.
itemCacheFacade.provide(computer, callback): void
Attributes
computer:
(callback: CallbackNormalErrorCache<T>) => voidcallback:
CallbackNormalErrorCache<T>Processes the provided computer.
itemCacheFacade.providePromise(computer): Promise<T>
Attributes
Returns promise with the data.
itemCacheFacade.store(data, callback): void
Attributes
data:
Tcallback:
CallbackCacheCacheFacade<void>Processes the provided data.
itemCacheFacade.storePromise(data): Promise<void>
Attributes
Stores the provided data.