There was an error while loading. Please reload this page.
options
Actor.setStatusMessage()
1 parent c6473ae commit 712e8c6Copy full SHA for 712e8c6
1 file changed
packages/apify/src/actor.ts
@@ -1176,8 +1176,8 @@ export class Actor<Data extends Dictionary = Dictionary> {
1176
* @returns The return value is the Run object. When run locally, this method returns empty object (`{}`).
1177
* For more information, see the [Actor Runs](https://docs.apify.com/api/v2#/reference/actor-runs/) API endpoints.
1178
*/
1179
- static async setStatusMessage(statusMessage: string): Promise<ClientActorRun> {
1180
- return Actor.getDefaultInstance().setStatusMessage(statusMessage);
+ static async setStatusMessage(statusMessage: string, options?: SetStatusMessageOptions): Promise<ClientActorRun> {
+ return Actor.getDefaultInstance().setStatusMessage(statusMessage, options);
1181
}
1182
1183
/**
0 commit comments