def METHOD_NAME():
    async def main():
        result = []
        async def purge(items, attributes):
            result.append(items)
        pool = PoolManager("test", 4, purge)
        pool.set_ttl(
            loop=asyncio.get_running_loop(),
            ttl=0.5
        )
        await pool.append(1)
        await pool.append(2)
        await pool.purge()
        await pool.append(3)
        await pool.append(4)
        await pool.purge()
        await pool.append(5)
        await pool.append(6)
        await pool.purge()
        return result
    result = asyncio.run(main())
    assert result == [[1, 2], [3, 4], [5, 6]]