new Async()
Asynchronous I/O.
Methods
reject(messageopt, codeopt)
Rejects operation with given message and code.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
message |
string |
<optional> |
The reason of rejection. |
code |
number |
<optional> |
The code. |
resolve()
Resolves operation.