import { HypervisorDiskStorage } from "https://deno.land/x/live@1.63.12/hypervisor/realtime/object.ts";
Constructors
new
HypervisorDiskStorage(opts: DiskStorageOptions)Properties
optional
onChange: (events: FsEvent[]) => voidMethods
delete(key: string): Promise<boolean>
delete(keys: string[]): Promise<number>
deleteAll(): Promise<void>
get<T = unknown>(key: string): Promise<T | undefined>
get<T = unknown>(keys: string[]): Promise<Map<string, T>>
list<T = unknown>(): Promise<Map<string, T>>
normalizePath(path: string)
put<T>(key: string, value: T): Promise<void>
put<T>(entries: Record<string, T>): Promise<void>
watch()
this is different from "onChange" this this is triggered by filesystem and avoid being triggered by itself.