Support for store.has syscall

This commit is contained in:
Zef Hemel
2023-01-26 15:26:56 +01:00
parent bc8d2d5e61
commit d133c79de0
3 changed files with 12 additions and 0 deletions
+4
View File
@@ -31,6 +31,10 @@ export function get(key: string): Promise<any> {
return syscall("store.get", key);
}
export function has(key: string): Promise<boolean> {
return syscall("store.has", key);
}
export function del(key: string): Promise<void> {
return syscall("store.delete", key);
}