ResourceCache.PollManager (Resource Cache v0.0.4) View Source

Link to this section Summary

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

forget(cache, source, fingerprint)

View Source

Specs

forget(
  cache :: module(),
  monitor :: module(),
  fingerprint :: ResourceCache.CacheManager.fingerprint()
) :: :ok | {:error, atom()}
Link to this function

monitor(cache, source, fingerprint, interval)

View Source

Specs

monitor(
  cache :: module(),
  monitor :: module(),
  fingerprint :: ResourceCache.CacheManager.fingerprint(),
  interval :: pos_integer()
) :: :ok | {:error, atom()}