Cancel scope on stream consumer completion
							parent
							
								
									f792aa06b5
								
							
						
					
					
						commit
						c6e52b0387
					
				|  | @ -338,6 +338,8 @@ async def test_respawn_consumer_task( | |||
|                         print("all values streamed, BREAKING") | ||||
|                         break | ||||
| 
 | ||||
|                 cs.cancel() | ||||
| 
 | ||||
|         # TODO: this is justification for a | ||||
|         # ``ActorNursery.stream_from_actor()`` helper? | ||||
|         await portal.cancel_actor() | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue