Packages

Singleflight request deduplication.

Current section

Files

Jump to
singleflight include singleflight_Request.hrl
Raw

include/singleflight_Request.hrl

-record(request, {
key :: any(),
work :: fun((any()) -> any()),
caller :: gleam@erlang@process:subject({ok, any()} |
{error, singleflight:fetch_error()})
}).