Module Future_unix.WriterSource

Sourcetype t = Core_kernel.Out_channel.t
Sourceval with_file : ?perm:int -> ?append:bool -> string -> f:(t -> 'a Deferred.t) -> 'a Deferred.t
Sourceval write : t -> string -> unit Deferred.t

Following functions returned a Deferred.t, while in Async they return unit.

Sourceval write_char : t -> char -> unit Deferred.t
Sourceval write_line : t -> string -> unit Deferred.t