package lwt-pipe

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type 'a t = ('a, [ `w ]) pipe
val map : f:('a -> 'b) -> ('b, [> `w ]) pipe -> 'a t

Map values before writing them

val send_both : ('a, [> `w ] as 'kind) pipe -> ('a, [> `w ] as 'kind) pipe -> 'a t

send_both a b returns a writer c such that writing to c writes to a and b, and waits for those writes to succeed before returning

val send_all : ('a, [> `w ]) pipe list -> 'a t

Generalized version of send_both