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

Function newAsyncCallTrackerPool

interpreter/async.go:450–458  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

448}
449
450func newAsyncCallTrackerPool() *asyncCallTrackerPool {
451 return &asyncCallTrackerPool{
452 Pool: sync.Pool{
453 New: func() any {
454 return newAsyncCallStateTracker()
455 },
456 },
457 }
458}
459
460var asyncCallStateTrackerPool = newAsyncCallTrackerPool()
461

Callers 2

async.goFile · 0.85
TestTrackerPoolShrinkFunction · 0.85

Calls 1

newAsyncCallStateTrackerFunction · 0.85

Tested by 1

TestTrackerPoolShrinkFunction · 0.68