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

Method ActiveAsyncCalls

interpreter/frame.go:267–272  ·  view source on GitHub ↗

ActiveAsyncCalls returns the number of async function calls that have been launched but whose completions have not yet been drained.

()

Source from the content-addressed store, hash-verified

265// ActiveAsyncCalls returns the number of async function calls that have been launched
266// but whose completions have not yet been drained.
267func (f *ExecutionFrame) ActiveAsyncCalls() int {
268 if f.ctx == nil || f.ctx.gate == nil {
269 return 0
270 }
271 return f.ctx.gate.ActiveCalls()
272}
273
274// AsyncCall returns the state of an async call by its callID, or nil if not found.
275func (f *ExecutionFrame) AsyncCall(callID int64) AsyncCall {

Calls 1

ActiveCallsMethod · 0.80