package sihl

  1. Overview
  2. Docs

Use Cleaner to clean persisted service state. This is useful for cleaning the state before running tests.

val registered_cleaners : (unit -> unit Lwt.t) list Stdlib.ref
val register_cleaner : (unit -> unit Lwt.t) -> unit
val register_cleaners : (unit -> unit Lwt.t) list -> unit
val clean_all : unit -> unit Lwt.t
OCaml

Innovation. Community. Security.