clearTimeout method
Implementation
@VoltronMethod(kFuncClearTimeout)
bool clearTimeout(String callId, JSPromise promise) {
var task = _timeInfo[callId];
task?.stop();
_timeInfo.remove(callId);
return false;
}
@VoltronMethod(kFuncClearTimeout)
bool clearTimeout(String callId, JSPromise promise) {
var task = _timeInfo[callId];
task?.stop();
_timeInfo.remove(callId);
return false;
}