Class Flow.sink

Consumer base class.

inherit Eio__Generic.t
method virtual copy : 'a. source as 'a -> unit
method write : Cstruct.t list -> unit

The default implementation is copy (cstruct_source ...), but it can be overridden for speed.