Github user srowen commented on a diff in the pull request:
https://github.com/apache/spark/pull/14104#discussion_r70240934
--- Diff: docs/programming-guide.md ---
@@ -1099,6 +1099,9 @@ for details.
</tr>
</table>
+Spark RDD API also exposes asynchronous versions of some actions like
foreach, collect, count etc. which return a handle immediately to the caller
which can be used to wait for its completion.
--- End diff --
I have a few edits to suggest so let me just propose some text directly:
The Spark RDD API also exposes asynchronous versions of some actions, like
`foreachAsync` for `foreach`, which immediately return a `FutureAction` to the
caller instead of blocking on completion of the action. This can be used to
manage or wait for the asynchronous execution of the action.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]