Skip to content

Commit

Permalink
back to async_generator
Browse files Browse the repository at this point in the history
  • Loading branch information
altendky committed Aug 19, 2020
1 parent 7f94bdd commit 6147bb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qtrio/_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ def slot(
yield Emissions(channel=receive_channel, send_channel=send_channel)


@contextlib.asynccontextmanager
@async_generator.asynccontextmanager
async def enter_emissions_channel(
signals: typing.Collection[qtrio._util.SignalInstance],
max_buffer_size: typing.Union[int, float] = math.inf,
Expand Down

0 comments on commit 6147bb8

Please sign in to comment.