Skip to main content
Version: 7.0.0

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>