package index

  1. Overview
  2. Docs

Module Cache.UnboundedSource

Cache implementation that always finds previously-added values, and grows indefinitely.

Sourcetype ('k, 'v) t

A cache of values of type 'v, indexed by keys of type 'k.

Sourceval create : unit -> (_, _) t
Sourceval add : ('k, 'v) t -> 'k -> 'v -> unit
Sourceval find : ('k, 'v) t -> 'k -> 'v option
Sourceval remove : ('k, _) t -> 'k -> unit
OCaml

Innovation. Community. Security.