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.
1 parent fb28c15 commit 13eec7cCopy full SHA for 13eec7c
starter/src/index.js
@@ -3,7 +3,7 @@ import { inspect } from 'util';
3
import { convertInputToActorConfigs } from './lib/configs.js';
4
import { waitForRunToFinishAndPushData, startRun } from './lib/startRunAndPool.js';
5
6
-const { log, sleep } = Apify.utils;
+const { log } = Apify.utils;
7
const env = Apify.getEnv();
8
9
Apify.main(async () => {
starter/src/lib/startRunAndPool.js
@@ -1,4 +1,6 @@
1
-import { newClient, pushData } from 'apify';
+import Apify from 'apify';
2
+
+const { newClient, pushData } = Apify;
/** @type {import('apify-client').ApifyClient} */
const client = newClient();
0 commit comments