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

Method ActiveAsyncCalls

interpreter/frame.go:422–427  ·  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

420// ActiveAsyncCalls returns the number of async function calls that have been launched
421// but whose completions have not yet been drained.
422func (f *ExecutionFrame) ActiveAsyncCalls() int {
423 if f.ctx == nil || f.ctx.gate == nil {
424 return 0
425 }
426 return f.ctx.gate.ActiveCalls()
427}
428
429// AsyncCall returns the state of an async call by its callID, or nil if not found.
430func (f *ExecutionFrame) AsyncCall(callID int64) AsyncCall {

Calls 1

ActiveCallsMethod · 0.80