ashdnazg opened a new pull request, #15653: URL: https://github.com/apache/datafusion/pull/15653
## Rationale for this change Allows polling a `SpawnedTask`, instead of just joining it. Required for a PR that will be opened shortly ## What changes are included in this PR? An `impl Future` was added to `SpawnedTask`. In addition, the underlying implementation is changed from `JoinSet` to a `JoinHandle` to simplify the code, as `JoinSet` doesn't provide any additional benefits. Documentation was also updated to make clearer what happens when `spawn_blocking` is called. ## Are these changes tested? Current tests are passing and there should be no behaviour change. ## Are there any user-facing changes? No, although `SpawnedTask` is public so it does add to the API. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org