Update flow/ThreadHelper.actor.h

Co-authored-by: A.J. Beamon <aj.beamon@snowflake.com>
This commit is contained in:
Daniel Smith 2021-06-29 13:31:15 -04:00 committed by GitHub
parent 1e0c233d40
commit 1c2d4119c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ void doOnMainThreadVoid(Future<Void> signal, F f, Error* err) {
} // namespace internal_thread_helper
// onMainThreadVoid runs a functor on the FDB network thread. The value returned by the functor is ignored.
// There is no way wait for the functor run to finish. For cases where you need a result back or simply need
// There is no way to wait for the functor run to finish. For cases where you need a result back or simply need
// to know when the functor has finished running, use `onMainThread`.
//
// WARNING: Successive invocations of `onMainThreadVoid` with different task priorities may run out of order.