Class: DirectReplEval
January 18, 2022 · View on GitHub
Kui API Documentation - v11.0.0 / @kui-shell/core / DirectReplEval
Class: DirectReplEval
@kui-shell/core.DirectReplEval
Directly apply the given evaluator to the given arguments. This is the default evaluator implementation.
Implements
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new DirectReplEval()
Properties
name
• name: string = 'DirectReplEval'
Implementation of
Defined in
packages/core/src/repl/types.ts:55
Methods
apply
▸ apply<T, O>(commandUntrimmed, execOptions, evaluator, args): T | Promise<T>
Type parameters
| Name | Type |
|---|---|
T | extends KResponse<any> |
O | extends ParsedOptions |
Parameters
| Name | Type |
|---|---|
commandUntrimmed | string |
execOptions | ExecOptions |
evaluator | Evaluator<T, O> |
args | Arguments<O> |
Returns
T | Promise<T>