We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Actor.main
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())
It could take care of
asyncio.runfor example, or it could be a decorator. There isn't much value in it now, compared toasync with Actor.A few mockups: