Skip to main content

Module combinators

Module combinators 

Source

Modulesยง

cache ๐Ÿ”’
priority ๐Ÿ”’
race ๐Ÿ”’

Structsยง

Cache
Asks near first, if not found, asks far. If found in there, returns it, and inserts it into near. There is no negative cache. Inserts and listings are not implemented for now.
CacheConfig
Priority
Tries requests on multiple stores sequentially, returning the first positive or erroneous answer.
PriorityConfig
Race
Fans out requests to multiple stores in parallel, returning the first positive or erroneous answer.
RaceConfig