Skip to content

Latest commit

 

History

History
80 lines (45 loc) · 2.34 KB

kui_shell_core.DirectReplEval.md

File metadata and controls

80 lines (45 loc) · 2.34 KB

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

ReplEval.name

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>

Implementation of

ReplEval.apply

Defined in

packages/core/src/repl/types.ts:57