FileAdapter
ref / storages / file / FileAdapter
Implements
ts
StorageAdapter<T>
Type Parameters
T
ts
T
Constructors
ts
FileAdapter(opts: ConstructorOptions<T>);
Properties
serializer
ts
serializer: Serializer<T>;
deserializer
ts
deserializer: Deserializer<T>;
Methods
read
ts
read(key: string);
write
delete
ts
delete(key: string): Promise<void>;