Skip to main content
Version: Next

finishTask()

function finishTask(
url,
payload,
abortController,
setState,
currServiceName,
socket): Promise<void>

Finishes task by hitting the remote cache, updating the hook with the task result and cleaning up

Parameters

ParameterType
urlany
payloadany
abortControllerany
setStateany
currServiceNameany
socketany

Returns

Promise<void>