new AsyncCursor()
- Description:
An asynchronous generic cursor used for iteration.
An Async Cursor may fetch its results asynchronously (i.e. across a network).
- Source:
Extends
Methods
(abstract) each(func)
- Description:
Iterate through the Cursor and call a function on every item.
- Source:
- Inherited From:
Parameters:
| Name | Type | Description |
|---|---|---|
func |
function | function called on every iteration with the |
(abstract) get()
- Description:
Return the current item.
- Source:
- Inherited From:
Returns:
the cursor value (null if none available).