Async extension function support. CEL supports `types.Unknown` as a first-class value, and concurrent (async) function execution in CEL invokes a stub function which checks for the presence of an existing result which matches the function call and call arguments, or which records the 'unexecuted' f
| 46 | // when it completes. The two callbacks therefore run on different goroutines, and OnCallFinished |
| 47 | // callbacks for distinct calls may run concurrently with each other. |
| 48 | type AsyncObserver interface { |
| 49 | // OnCallStarted is called when an asynchronous function is first launched. |
| 50 | OnCallStarted(callID int64, function, overload string, args []ref.Val) |
| 51 | // OnCallFinished is called when an asynchronous function completes. |
| 52 | OnCallFinished(callID int64, function, overload string, res ref.Val) |
| 53 | } |
| 54 | |
| 55 | // AsyncCall describes a pending or completed asynchronous function call. |
| 56 | type AsyncCall interface { |
no outgoing calls
no test coverage detected