Casts a done Writer to a different input type. A Writer in the done
state can have any input type.
Casts an errored Writer to different input and output types. A Writer
in the error state can have any input type, and any output type.
Returns the written result. Only guaranteed to return a result when in the done state.
Returns a Writer that represents the continuation of how to write the
given input object.
Returns a Writer continuation whose behavior may be altered by the given
out-of-band condition.
Returns true when pull is able to produce Output. i.e. this
Writer is in the cont state.
Returns true when writing has terminated successfully, and bind will
return the written result. i.e. this Writer is in the done state.
Returns true when writing has terminated in failure, and trap will
return the write error. i.e. this Writer is in the error state.
Returns the write error. Only guaranteed to return an error when in the error state.
Returns a
Writerthat continues writingthatWriter, after it finishes writingthisWriter.