Method AsyncResult():state() Foundation

Returns the current state of the AsyncResult.

Syntax
:state() --> cState
Return

A string representing the current state.

Description

Returns a string indicating the current state of the AsyncResult object. The possible states are:

- "waiting": The operation is still in progress

- "finished": The operation completed successfully

- "error": The operation failed with an error.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.