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