Condukt.SessionStore.ObjectStore.Memory (Condukt v3.0.0)

Copy Markdown View Source

An in-memory Condukt.SessionStore.ObjectStore.Bucket, for tests.

{:ok, bucket} = Condukt.SessionStore.ObjectStore.Memory.start_link()
session_store: {Condukt.SessionStore.ObjectStore, bucket: {Condukt.SessionStore.ObjectStore.Memory, bucket}}

The objects live in an Agent, so every process using the same pid sees the same bucket, and creates are atomic like an S3 conditional write.

Summary

Functions

start_link(opts \\ [])