1
0
silverbullet/plugos-silverbullet-syscall/clientStore.ts

14 lines
359 B
TypeScript
Raw Normal View History

2022-04-04 13:25:07 +00:00
import {syscall} from "./syscall";
export async function set(key: string, value: any): Promise<void> {
return syscall("clientStore.set", key, value);
}
export async function get(key: string): Promise<any> {
return syscall("clientStore.get", key);
}
export async function del(key: string): Promise<void> {
return syscall("clientStore.delete", key);
}