mirror of
https://github.com/elastic/kibana.git
synced 2025-06-28 11:05:39 -04:00
* Refactor execution service to use observables underneath * Fix canvas plugin to initialize workspace after assets * Update expression functions implementations to resolve observables instead of promises
24 lines
794 B
Markdown
24 lines
794 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [kibana-plugin-plugins-expressions-public](./kibana-plugin-plugins-expressions-public.md) > [Execution](./kibana-plugin-plugins-expressions-public.execution.md) > [invokeFunction](./kibana-plugin-plugins-expressions-public.execution.invokefunction.md)
|
|
|
|
## Execution.invokeFunction() method
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
invokeFunction(fn: ExpressionFunction, input: unknown, args: Record<string, unknown>): Observable<any>;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| fn | <code>ExpressionFunction</code> | |
|
|
| input | <code>unknown</code> | |
|
|
| args | <code>Record<string, unknown></code> | |
|
|
|
|
<b>Returns:</b>
|
|
|
|
`Observable<any>`
|
|
|