Scala Lectures
Using Cats Effect IO with the Play Framework
Cats Effect IO - Retry with backoff pattern
Scala example for using the retry-with-backoff pattern with Cats Effect IO.
Quick notes on functors
Functors
A functor is a design pattern that allows us to apply a function to a contextualized (wrapped) type. This is accomplished by implementing the map
function:
fmap :: (a -> b) -> f a -> f b