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

Function LateFunctionBinding

cel/decls.go:352–354  ·  view source on GitHub ↗

LateFunctionBinding indicates that the function has a binding which is not known at compile time. This is useful for functions which have side-effects or are not deterministically computable. The implementation is supplied at evaluation time as a LateBoundFunction within an activation created by Fu

()

Source from the content-addressed store, hash-verified

350// The implementation is supplied at evaluation time as a LateBoundFunction within an activation
351// created by FunctionVars, and is subject to the same runtime type-guard as an eager binding.
352func LateFunctionBinding() OverloadOpt {
353 return decls.LateFunctionBinding()
354}
355
356// AsyncBinding provides the implementation of an asynchronous overload. The provided function
357// is called in its own goroutine with the provided context. The function should block until

Calls 1

LateFunctionBindingFunction · 0.92