Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/argoproj/argo-workflows
/ cancel
Function
cancel
ui/src/shared/debounce.ts:4–9 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
2
let
timer: number | null = null;
3
4
const
cancel = () => {
5
if
(timer !== null) {
6
clearTimeout(timer);
7
timer = null;
8
}
9
};
10
11
const
debouncedFn = (...args: Parameters<T>) => {
12
cancel();
Callers
15
RegisterWorkflowTemplateServiceHandlerServer
Function · 0.85
RegisterWorkflowTemplateServiceHandlerClient
Function · 0.85
RegisterArchivedWorkflowServiceHandlerServer
Function · 0.85
RegisterArchivedWorkflowServiceHandlerClient
Function · 0.85
RegisterSensorServiceHandlerServer
Function · 0.85
RegisterSensorServiceHandlerClient
Function · 0.85
RegisterSyncServiceHandlerServer
Function · 0.85
RegisterSyncServiceHandlerClient
Function · 0.85
RegisterCronWorkflowServiceHandlerServer
Function · 0.85
RegisterCronWorkflowServiceHandlerClient
Function · 0.85
RegisterEventSourceServiceHandlerServer
Function · 0.85
RegisterEventSourceServiceHandlerClient
Function · 0.85
Calls
no outgoing calls
Tested by
15
TestVolumeClaimTemplate
Method · 0.68
TestWatchWorkflows
Function · 0.68
TestWatchLatestWorkflow
Function · 0.68
TestPodLogs
Function · 0.68
TestDisablePrometheusServer
Function · 0.68
TestPrometheusServer
Function · 0.68
TestDummyPrometheusServer
Function · 0.68
TestUpdateConfig
Function · 0.68
TestWorkflowTemplateRef
Function · 0.68
TestWorkflowTemplateRefWithArgs
Function · 0.68
TestWorkflowTemplateRefWithWorkflowTemplateArgs
Function · 0.68
TestWorkflowTemplateRefInvalidWF
Function · 0.68