apify-sdk-js
apify-sdk-js copied to clipboard
More descriptive Actor.isAtHome
Feature
Please add a new static Actor function with a more descriptive name.
Slack thread: https://apify.slack.com/archives/C010Q0FBYG3/p1766382886007329
Motivation
Users have to think about what Actor.isAtHome means; the name is "kind of a joke/pun," which is not ideal.
Ideal solution or implementation, and any additional constraints
??
JC: Actor.venue() = apify, local, ...
- Enum not ideal, if there are only two values
Another inspirational ideas:
Actor.(is)onPlatform
Actor.runsLocally
Alternative solutions or implementations
No response
Other context
No response