kibana/docs/development/plugins/expressions/server/kibana-plugin-plugins-expressions-server.executionstate.md
2020-09-30 09:10:28 +02:00

21 lines
1.3 KiB
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [kibana-plugin-plugins-expressions-server](./kibana-plugin-plugins-expressions-server.md) &gt; [ExecutionState](./kibana-plugin-plugins-expressions-server.executionstate.md)
## ExecutionState interface
<b>Signature:</b>
```typescript
export interface ExecutionState<Output = ExpressionValue> extends ExecutorState
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [ast](./kibana-plugin-plugins-expressions-server.executionstate.ast.md) | <code>ExpressionAstExpression</code> | |
| [error](./kibana-plugin-plugins-expressions-server.executionstate.error.md) | <code>Error</code> | Error happened during the execution. |
| [result](./kibana-plugin-plugins-expressions-server.executionstate.result.md) | <code>Output</code> | Result of the expression execution. |
| [state](./kibana-plugin-plugins-expressions-server.executionstate.state.md) | <code>'not-started' &#124; 'pending' &#124; 'result' &#124; 'error'</code> | Tracks state of execution.<!-- -->- <code>not-started</code> - before .start() method was called. - <code>pending</code> - immediately after .start() method is called. - <code>result</code> - when expression execution completed. - <code>error</code> - when execution failed with error. |