package sihl-queue
Module Sihl_queueSource
include module type of struct include Sihl.Contract.Queue end
Source
val create :
name:string ->
input_to_string:('a -> string option) ->
string_to_input:(string option -> ('a, string) Result.t) ->
handle:('a -> (unit, string) Result.t Lwt.t) ->
?failed:(string -> (unit, string) Lwt_result.t) ->
unit ->
'a t