Locker v0.1.3

Modules summary

Locker

Provides Elixir API to locker Erlang library as well as some utilities that make using locker easier

Locker.Fsm

A utility module that helps in creating :gen_fsm processes that are registered in locker. Options are similar to the ones with Locker.Server

Locker.Registry

This module provides a global process registry using locker Erlang library as the storage backend. It supports e.g., the GenServer‘s {:via, module, term} API

Locker.Server

A utility module that helps in creating GenServer processes that are registered in locker. This module implements functions for keeping up the registration. It accepts two parameters, namely :lease_length and :lease_threshold, which defaults to 5 seconds and one second. Based on these options, the process registration is updated in the progess registry