When I (pip) install asyncpg-listen and try to run the example code in the README.md, I get error "AttributeError: __aenter__" at line "async with asyncpg.connect() as connection:".
I'm running the latest asyncpg, 0.25.0, which doesn't support connections as context managers:
MagicStack/asyncpg#583
so I am not sure how you got the example to work as written.