package current

  1. Overview
  2. Docs

Perform builds with caching.


module B : S.BUILDER


val get : ?schedule:Schedule.t -> B.t -> B.Key.t -> B.Value.t Current.Primitive.t

get b k is a term for the result of building k.

val invalidate : B.Key.t -> unit

invalidate key removes key from the cache.

val reset : db:bool -> unit

reset ~db clears the cache. Useful for unit-tests.

  • parameter db

    Also clear from the on-disk database table.


Innovation. Community. Security.