effect icon indicating copy to clipboard operation
effect copied to clipboard

feat: added KeyValueStore.layerStorage

Open jessekelly881 opened this issue 1 year ago • 1 comments

added platform KeyValueStore.layerStorage to create a KeyValueStore from an instance of the Storage type(e.g. SessionStorage and LocalStorage).

Thoughts on the pathOrDescriptor arg? I'm not sure if that's a good idea.

jessekelly881 avatar May 13 '24 12:05 jessekelly881

🦋 Changeset detected

Latest commit: e10aeda1c16ac268cc361a2c923c07caf33f7238

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 17 packages
Name Type
@effect/platform Patch
@effect/cli Patch
@effect/experimental Patch
@effect/platform-browser Patch
@effect/platform-bun Patch
@effect/platform-node-shared Patch
@effect/platform-node Patch
@effect/rpc-http Patch
@effect/rpc Patch
@effect/sql-mssql Patch
@effect/sql-mysql2 Patch
@effect/sql-pg Patch
@effect/sql-sqlite-bun Patch
@effect/sql-sqlite-node Patch
@effect/sql Patch
@effect/sql-sqlite-react-native Patch
@effect/sql-sqlite-wasm Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

changeset-bot[bot] avatar May 13 '24 12:05 changeset-bot[bot]

Thoughts on the pathOrDescriptor arg? I'm not sure if that's a good idea.

You can just use the key as the path.

tim-smart avatar May 28 '24 23:05 tim-smart