Context managers
juandiegopalomino opened this issue · comments
Hi there,
So looking at the usage w/ closing channels, it'd be really swell to have context managers to ensure that the channels always close even if there's an error: https://docs.python.org/3/library/contextlib.html