View Source DiscoLog.Dedupe (disco_log v0.7.0)

Dedupe module to prevent reporting error multiple times.

Original implementation from Sentry Elixir https://github.com/getsentry/sentry-elixir/blob/69ac8d0e3f33ff36ab1092bbd346fdb99cf9d061/lib/sentry/dedupe.ex

Summary

Functions

Returns a specification to start this module under a supervisor.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

insert(name, error)

@spec insert(atom(), DiscoLog.Error.t()) :: :new | :existing

start_link(opts)

@spec start_link(keyword()) :: GenServer.on_start()