Skip to main content

Parameters

string
required
Should be a stable and unique cache key inside the run(). See resumability for more information.
function
required
A callback function that is called with a single url parameter. When the URL is POSTed to, the task will be completed and the POST request body will be returned.
object

Returns

Returns a Promise that resolves to the request body when the request is made.