zarf
zarf copied to clipboard
Engine: Storage
- Add a unified interface for all sorts of
key-value
stores - Add a
in-memory
session store, to demonstrate the interface and support basic in memory storage
Implementation Details
Add abstract class BunStorageEngine
and extension BunSessionStorageEngine
. As a basic implementation BunInMemorySessionStorageEngine
to maintain data in memory.
BunStorageEngine
(Abstract Class) -> BunSessionStorageEngine
(Implementation Class) -> BunInMemorySessionStorageEngine
(Extension of Implementation Class)