DiscoLog.Dedupe (disco_log v0.1.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

Link to this function

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

@spec insert(DiscoLog.Error.t()) :: :new | :existing
Link to this function

start_link(opts)

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