Skip to main content
Version: Next

AbortOptions

Hierarchy

Index

Properties

externaloptionalinheritedgracefully

gracefully?: boolean

externaloptionalinheritedsignal

signal?: AbortSignal

Aborts the method. Once the signal aborts, the request in flight is ended, no retry or further poll follows, and the method rejects with the signal's reason.

optionalstatusMessage

statusMessage?: string

Exit with given status message

externaloptionalinheritedtimeoutSecs

timeoutSecs?: Timeout

Timeout for the API request: a tier name ('short', 'medium', 'long'), a number of seconds, or 'noTimeout'. Defaults to the tier the method is assigned, which its documentation names.

optionalinheritedtoken

token?: string

User Apify API token that is used for API calls. By default, it is taken from the APIFY_TOKEN environment variable.