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

1.3 KiB

Home > kibana-plugin-plugins-expressions-server > ExecutionState

ExecutionState interface

Signature:

export interface ExecutionState<Output = ExpressionValue> extends ExecutorState 

Properties

Property Type Description
ast ExpressionAstExpression
error Error Error happened during the execution.
result Output Result of the expression execution.
state 'not-started' | 'pending' | 'result' | 'error' Tracks state of execution.- not-started - before .start() method was called. - pending - immediately after .start() method is called. - result - when expression execution completed. - error - when execution failed with error.