View Source DiscoLog.Dedupe (disco_log v0.5.2)

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

Returns a specification to start this module under a supervisor.

See Supervisor.

@spec insert(DiscoLog.Error.t()) :: :new | :existing
@spec start_link(keyword()) :: GenServer.on_start()