We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c8dfdc commit 6564e59Copy full SHA for 6564e59
1 file changed
src/spin_sdk/util.py
@@ -11,7 +11,7 @@
11
async def collect(tuple: Tuple[StreamReader[T], FutureReader[Result[None, E]]]) -> List[T]:
12
"""
13
Collect all items from the StreamReader portion of the provided Tuple and return them in a List,
14
- verifying the FutureReader result upon stream completion.
+ verifying the FutureReader result upon stream completion and, if it is error, raising it as an exception.
15
16
stream = tuple[0]
17
future = tuple[1]
0 commit comments