Up

Module Direct_stream_writer

Signature

val close : _ t -> unit
val closed : _ t -> unit Async_kernel.Std.Deferred.t
val is_closed : _ t -> bool
val write : 'a t -> 'a -> [
| `Flushed of unit Async_kernel.Std.Deferred.t
| `Closed
]
val write_without_pushback : 'a t -> 'a -> [
| `Ok
| `Closed
]