MCPcopy Create free account
hub / github.com/cel-expr/cel-go / newAsyncCallTrackerPool

Function newAsyncCallTrackerPool

interpreter/async.go:445–453  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

443}
444
445func newAsyncCallTrackerPool() *asyncCallTrackerPool {
446 return &asyncCallTrackerPool{
447 Pool: sync.Pool{
448 New: func() any {
449 return newAsyncCallStateTracker()
450 },
451 },
452 }
453}
454
455var asyncCallStateTrackerPool = newAsyncCallTrackerPool()
456

Callers 2

async.goFile · 0.85
TestTrackerPoolShrinkFunction · 0.85

Calls 1

newAsyncCallStateTrackerFunction · 0.85

Tested by 1

TestTrackerPoolShrinkFunction · 0.68