pub fn call_array_method_with_callback<'a>(
arr: &'a [Value],
method: &'a str,
callback: &'a Value,
extra_args: &'a [Value],
env: &'a Environment,
tools: &'a ToolRegistry,
) -> Pin<Box<dyn Future<Output = GentResult<Value>> + 'a>>Expand description
Call a higher-order array method that takes a lambda/function callback