Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supports webhooks for local runs #3

Open
drobnikj opened this issue Mar 19, 2019 · 1 comment
Open

Supports webhooks for local runs #3

drobnikj opened this issue Mar 19, 2019 · 1 comment

Comments

@drobnikj
Copy link
Member

We print warning in case the user wants to use Apify.webhook() locally. We should support webhooks on local.

@mtrunkat
Copy link
Member

Possible implementation:

  1. If actor is running locally (when isAtHome() === false), the Apify.addWebhook() would store information about added webhooks to some local variable in actor.js.
  2. At the end of Apify.main() we would trigger registered webhooks. It should support webhooks for both SUCCEEDED and FAILED (occur if user's main function throws) states.

@B4nan B4nan transferred this issue from apify/crawlee Jul 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants