Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions lib/elixir/lib/registry.ex
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ defmodule Registry do
| {:name, registry}
| {:partitions, pos_integer}
| {:listeners, [atom]}
| {:compressed, boolean}
| {:meta, [{meta_key, meta_value}]}

@typedoc """
Expand Down Expand Up @@ -357,6 +358,8 @@ defmodule Registry do
and unregister events. The registered process must be monitored by the
listener if the listener wants to be notified if the registered process
crashes. Messages sent to listeners are of type `t:listener_message/0`.
* `:compressed` - turns on compression for registry's keys ETS tables, reducing
memory usage at the cost of additional CPU usage. Defaults to `false`.
* `:meta` - a keyword list of metadata to be attached to the registry.

For `:duplicate` registries, you can specify the partitioning strategy
Expand Down
Loading