package sihl-contract

  1. Overview
  2. Docs
type 'a t = {
  1. name : string;
  2. input_to_string : 'a -> string option;
  3. string_to_input : string option -> ('a, string) Result.t;
  4. handle : 'a -> (unit, string) Result.t Lwt.t;
  5. failed : string -> (unit, string) Result.t Lwt.t;
  6. max_tries : int;
  7. retry_delay : Sihl_core.Time.duration;
}
val name : string
module type Sig = sig ... end