MCPcopy Create free account
hub / github.com/akshayganeshen/napi-go / GetAsyncWork

Method GetAsyncWork

instance_data.go:437–443  ·  view source on GitHub ↗
(
	id NapiGoAsyncWorkID,
)

Source from the content-addressed store, hash-verified

435}
436
437func (d *NapiGoInstanceAsyncWorkData) GetAsyncWork(
438 id NapiGoAsyncWorkID,
439) *NapiGoAsyncWorkMapEntry {
440 d.Lock.RLock()
441 defer d.Lock.RUnlock()
442 return d.AsyncWorkMap[id]
443}
444
445func (d *NapiGoInstanceAsyncWorkData) DeleteAsyncWork(id NapiGoAsyncWorkID) {
446 d.Lock.Lock()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected