Use .shield() meth name from tractor
							parent
							
								
									a790a59962
								
							
						
					
					
						commit
						9aeb8603ac
					
				| 
						 | 
					@ -113,7 +113,7 @@ async def cascade(
 | 
				
			||||||
                stream,
 | 
					                stream,
 | 
				
			||||||
            ):
 | 
					            ):
 | 
				
			||||||
                # task cancellation won't kill the channel
 | 
					                # task cancellation won't kill the channel
 | 
				
			||||||
                async with stream.shield():
 | 
					                with stream.shield():
 | 
				
			||||||
                    async for quotes in stream:
 | 
					                    async for quotes in stream:
 | 
				
			||||||
                        for symbol, quotes in quotes.items():
 | 
					                        for symbol, quotes in quotes.items():
 | 
				
			||||||
                            if symbol == sym:
 | 
					                            if symbol == sym:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue