RemotePersistentTerm.Fetcher.Static (RemotePersistentTerm v0.8.0)
View SourceA 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