# WriteStreamCallbackArgs

Argument passed to the callback when an asynchronous writeStream operation finishes.

Availability
1.7
1.7
9.2.0
Extends

NOTE

This is an abstract type. Any object of this structure can be used where this type is used.

# Properties

# bytesProcessed

Availability
1.7
1.7
9.2.0
bytesProcessed :Number

Number of bytes processed, or -1 in the event of an error or end of stream.


# errorDescription DEPRECATED

Availability
1.7
1.7
errorDescription :String

DEPRECATED SINCE 3.1.0

Use error property to determine error message

Text description of the error.


# errorState DEPRECATED

Availability
1.7
errorState :Number

DEPRECATED SINCE 3.1.0

Use success or code values to determine error conditions

Whether an error was encountered. Set to 1 in the case of an error, 0 otherwise.


# fromStream

Availability
1.7
1.7
9.2.0
fromStream :Titanium.IOStream

Stream being read from.


# toStream

Availability
1.7
1.7
9.2.0
toStream :Titanium.IOStream

Stream being written to.