MobileNativeFoundation / Store

A Kotlin Multiplatform library for building network-resilient applications
https://mobilenativefoundation.github.io/Store/
Apache License 2.0
3.16k stars 197 forks source link

Add wasmJS target to the Cache module #605

Closed BoD closed 6 months ago

BoD commented 6 months ago

Description

Adds the wasmJs target to the cache module.

A bit of context: we are currently looking at using cache as a dependency to apollo-kotlin's in-memory cache to improve performance with concurrency. Apollo Kotlin has the wasm target enabled so this change would come in handy for us.

Type of Change

Test Plan

Added a few basic tests for Cache, and ensured ./gradlew :cache:wasmJsTest passes

Checklist:

Before submitting your PR, please review and check all of the following:

Additional Notes: