Concrete implementation for the PrefetchingSupplier trait.
Concrete implementation for the PrefetchingSupplier trait. Should be used most of the time.
the type of the pre-fetched value
Implicit class for looking up elements in a pre-fetched map.
Implicit class for looking up elements in a pre-fetched map.
Allows returning a failed ZIO if the element cannot be found.
key type
value type
Conveys the fact that a lookup failed.
Conveys the fact that a lookup failed.
details about the failed lookup
when failing to look up a set of keys, contains the error for the first key that was not found.
Implicit class for easing lookups in prefetchers that contain nested maps.
Implicit class for easing lookups in prefetchers that contain nested maps.
outer key type
nested key type
value type
This class is akin to a Supplier[T] that will always have a T immediately available, while it is updated by a background job on a regular basis.
This class is akin to a Supplier[T] that will always have a T immediately available, while it is updated by a background job on a regular basis.
the type of the pre-fetched value
Static implementation of the prefetching supplier trait.
Static implementation of the prefetching supplier trait.
Mostly useful for tests.
the type of the pre-fetched value