View Source RequestCache.Middleware (request_cache_plug v1.0.2)

Summary

Functions

Link to this function

store_result(result, ttl)

View Source
@spec store_result(
  result :: any(),
  opts_or_ttl :: RequestCache.opts() | pos_integer()
) :: {:middleware, module(), RequestCache.opts()}