package paf

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module PafSource

Sourcemodule type RUNTIME = sig ... end
Sourcetype 'conn runtime = (module RUNTIME with type t = 'conn)
Sourcetype impl =
  1. | Runtime : 'conn runtime * 'conn -> impl
Sourcetype sleep = int64 -> unit Lwt.t
Sourceval server : 'conn runtime -> sleep:sleep -> 'conn -> Mimic.flow -> unit Lwt.t
Sourceval run : 'conn runtime -> sleep:sleep -> 'conn -> Mimic.flow -> unit Lwt.t
Sourcetype 't service
Sourceval service : ('connected_flow -> (Mimic.flow * impl, 'error) result Lwt.t) -> ('flow -> ('connected_flow, 'error) result Lwt.t) -> ('t -> ('flow, [> `Closed ] as 'error) result Lwt.t) -> ('t -> unit Lwt.t) -> 't service
Sourceval serve : sleep:sleep -> ?stop:Lwt_switch.t -> 't service -> 't -> [ `Initialized of unit Lwt.t ]
OCaml

Innovation. Community. Security.