web4bio / webgen

WebGen Vertically Integrated Project
https://web4bio.github.io/webgen/main/html/
11 stars 26 forks source link

Fix a small bug with CacheInterface object #390

Closed ericr491 closed 2 years ago

ericr491 commented 2 years ago

Ensures that the data is loaded in before initializing the CacheInterface object

ericr491 commented 2 years ago

Updated to use the singleton pattern, access the cacheMe object with:

let test = await getCacheMe()