Skip to content

memoryAdapter

memoryAdapter(): StorageAdapter

An in-memory adapter: the cart lives for the page’s life. The fallback when the device’s storage is unavailable, and a test double.

StorageAdapter