Package io.github.alexandrepiveteau.echo.indexeddb

Functions

Link copied to clipboard
suspend fun load(session: String, exchange: Exchange<Message.Incoming, Message.Outgoing>)

Loads the events from the browser into the provided Exchange.

Link copied to clipboard
suspend fun save(session: String, exchange: Exchange<Message.Incoming, Message.Outgoing>)

Saves the content from the provided Exchange to the given session in the browser.