Bonsai_extra_pipemodule Bonsai := Bonsai.Contmodule Effect := Bonsai.Effectval pipe :
?sexp_of:('a -> Core.Sexp.t) ->
Bonsai.graph @ local ->
('a -> unit Effect.t) Bonsai.t * 'a Effect.t Bonsai.tpipe constructs a pipe of a and returns a pair containing an injection function that enqueues items and an Effect that dequeues them.