exhtml v0.3.1 Exhtml.Stash

Stash save important states. Processes save their states to stash on crashing. They can restore states from Stash after restarts.

This module is supposed not to be used publicly.

Summary

Functions

Gets current stashed registry state

Types

server()
server() :: GenServer.server

Functions

registry_state(server \\ Exhtml.Stash)

Gets current stashed registry state.

  • server - the PID or name of the server process
save_registry(server \\ Exhtml.Stash, state)
save_registry(server, any) :: :ok

Saves the registry state.

  • server - the PID or name of the server process
  • state - the whole registry state