# `IdempotencyPlug.ETSStore`
[🔗](https://github.com/danschultzer/idempotency_plug/blob/v0.2.2/lib/idempotency_plug/store/ets_store.ex#L1)

Module that defines an ETS store.

The ETS table data is not persisted and will be flushed on application
restart. You should use the `IdempotencyPlug.EctoStore` or a custom
`IdempotencyPlug.Store` type module for production.

## Examples

    defmodule MyApp.Application do
      # ..

      def start(_type, _args) do
        children = [
          {IdempotencyPlug.RequestTracker, [
            store: {IdempotencyPlug.ETSStore, table: MyAppWeb.RequestTrackerStore}]}
          # ...
        ]

        Supervisor.start_link(children, strategy: :one_for_one, name: MyApp.Supervisor)
      end
    end

---

*Consult [api-reference.md](api-reference.md) for complete listing*
