DataCache

trait DataCache[F[_]]

A Cache trait so the users of the library can provide their own cache.

A Cache trait so the users of the library can provide their own cache.

class Object
trait Matchable
class Any
class InMemoryCache[F]

Value members

Abstract methods

def insert[I, A](i: I, v: A, data: Data[I, A]): F[DataCache[F]]
def lookup[I, A](i: I, data: Data[I, A]): F[Option[A]]

Concrete methods

def bulkInsert[I, A](vs: List[(I, A)], data: Data[I, A])(M: Monad[F]): F[DataCache[F]]