2022-04-06 13:39:20 +00:00
|
|
|
import { syscall } from "./syscall";
|
2022-04-04 13:25:07 +00:00
|
|
|
|
|
|
|
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);
|
|
|
|
}
|