class typeAccumulator channel (meaningful for Netchannels built from Batteries output channels).['a]
acc_out_channel =object
..end
Once an accumulator channel has been closed, the value it has
accumulated during output can be retrieved using # accumulator
.
This class can be coerced to a plain rec_out_channel
using
acc_oc :> rec_out_channel
, where acc_oc
is an
acc_out_channel
instance.
Inherits
rec_out_channel
method accumulator : 'a option
Some acc
where acc
is the accumulator data collected
when the System.IO.output
channel used to create this
Netchannel was closed; return None
if the channel hasn't been
closed yet.