Packages

A library for caching deterministic calculations in Gleam

Current section

Files

Jump to
worm src worm.erl
Raw

src/worm.erl

-module(worm).
-compile([no_auto_import, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch]).
-export([persist/1]).
-spec persist(fun(() -> FWG)) -> FWG.
persist(Generator) ->
worm_ffi:persist(Generator).