Skip to main content
Version: Next

runTask()

function runTask(
url,
payload,
signal,
checkCacheOnly,
onConnect): Promise<GeoprocessingTask<any>>

Runs task by sending GET request to url with payload and optional flags Task can be aborted using caller-provided AbortSignal

Parameters

ParameterType
urlstring
payloadGeoprocessingRequest
signalAbortSignal
checkCacheOnlyboolean
onConnectboolean

Returns

Promise<GeoprocessingTask<any>>