package obatcher

  1. Overview
  2. Docs

Parameters

module S : Service

Signature

type t

t represents the service now abstracted with batching made implicit & automatic

val init : ?cfg:S.cfg -> unit -> t

init ?cfg () initializes service with implicit batching. cfg is passed on the service initialization

val exec : t -> 'a S.op -> 'a

exec t op is the API call for a singular operation on the service with operations being automatically batched before passed to the service

val get_internal : t -> S.t

get_internal t extracts underlying internal service

  • alert unsafe Should not be used typically by application
OCaml

Innovation. Community. Security.