?onclose:(unit -> unit) -> Stdlib.out_channel -> Netchannels.out_obj_channel