Closed janbuchar closed 1 month ago
It could take care of asyncio.run for example, or it could be a decorator. There isn't much value in it now, compared to async with Actor.
asyncio.run
async with Actor
A few mockups:
from apify import Actor @Actor.main async def main(): Actor.push_data({})
from apify import Actor async def main(): Actor.push_data({}) Actor.run(main())
Let's just remove it
It could take care of
asyncio.run
for example, or it could be a decorator. There isn't much value in it now, compared toasync with Actor
.A few mockups: