forked from pantsbuild/pants
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pass stream workunit context to all callbacks calls instead of just p…
…assing it in the last call. (pantsbuild#10340) ### Problem After pantsbuild#10034, the context kwarg is only passed to the callback in the last call (where finished=True) ### Solution Pass the context param on every call to the callback ### Result Handlers/callbacks don't have to wait for the last call in order to call the context APIs in order to dump digests (for example)
- Loading branch information
1 parent
76ebbc7
commit 9660b8f
Showing
1 changed file
with
10 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters