In our code under extension.ts file,
This function is there.
export function run(args: string): Promise<{ fault: Fault; value: any }> {
inside this function below code are there,
setTimeout(() => {
if (jobs.delete(id)) {
resolve({
fault: { code: “timeout”, message: “Extension timed out” },
value: null,
});
}
}, TIMEOUT);
if (!processes[scriptName].connected) return false;
return processes[scriptName].send([id, args.slice(1)]);
});
}
What is this function will do , what is the “job” means,
how to resolve the extension timeout fault , is there any expiry time for this faults.
what is max retries of faults.