MCPcopy Create free account
hub / github.com/actiontech/dtle / Set

Method Set

driver/state.go:20–24  ·  view source on GitHub ↗
(id string, handle *taskHandle)

Source from the content-addressed store, hash-verified

18}
19
20func (ts *taskStore) Set(id string, handle *taskHandle) {
21 ts.lock.Lock()
22 defer ts.lock.Unlock()
23 ts.store[id] = handle
24}
25
26func (ts *taskStore) Get(id string) (*taskHandle, bool) {
27 ts.lock.RLock()

Callers 4

StartTaskMethod · 0.45
JWTTokenAdapterFunction · 0.45
InvokeApiWithKvDataFunction · 0.45
getCurrentUserFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected