View Source RemotePersistentTerm.Fetcher.Static (RemotePersistentTerm v0.1.2)

A macro to help define a valid RemotePersistentTerm.Fetcher which always returns some hardcoded static data.

Mostly intended for testing purposes.

Example:

defmodule MyStaticFetcher do
  use RemotePersistentTerm.Fetcher.Static, data: %{my: :data}
end