LevelDB
storeSet
async storeSet(key, value): Promise<void> {
return (await genericHandler('storeSet', key, value));
}await namespaceWrapper.storeSet("round", "-1"); // store data
const round_task = await namespaceWrapper.storeGet("round"); // retrieve data with key
console.log("ROUND OF TASK SET TO", round_task);storeGet
async storeGet(key): Promise<string> {
return (await genericHandler('storeGet', key));
}Last updated