Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenListTeam/OpenList
/ Cancel
Method
Cancel
internal/task/manager.go:9–9 ·
view source on GitHub ↗
(id string)
Source
from the content-addressed store, hash-verified
7
type
Manager[T tache.Task]
interface
{
8
Add(task T)
9
Cancel(id string)
10
CancelAll()
11
CancelByCondition(condition
func
(task T) bool)
12
GetAll() []T
Callers
5
TestTask_Cancel
Function · 0.65
Cancel
Method · 0.65
Cancel
Method · 0.65
taskRoute
Function · 0.65
Close
Method · 0.65
Calls
no outgoing calls
Tested by
1
TestTask_Cancel
Function · 0.52