Skip to content

tyneq


tyneq / TyneqOrderedTerminalOperator

Abstract Class: TyneqOrderedTerminalOperator<TSource, TResult>

Defined in: src/core/terminal/TyneqOrderedTerminalOperator.ts:16

Abstract base for terminal operators that require a fully ordered sequence.

Remarks

Use this when your terminal operator needs access to ordered-sequence members (comparers, parent chain, etc.). Register with @orderedTerminal or createOrderedTerminalOperator.

Type Parameters

Type ParameterDefault typeDescription
TSource-Element type of the source sequence.
TResultTSourceThe return type of process().

Constructors

Constructor

new TyneqOrderedTerminalOperator<TSource, TResult>(source): TyneqOrderedTerminalOperator<TSource, TResult>

Defined in: src/core/terminal/TyneqOrderedTerminalOperator.ts:19

Parameters

ParameterType
sourceOrderedEnumerable<TSource>

Returns

TyneqOrderedTerminalOperator<TSource, TResult>

Properties

PropertyModifierTypeDefined in
sourcereadonlyOrderedEnumerable<TSource>src/core/terminal/TyneqOrderedTerminalOperator.ts:17

Methods

process()

abstract process(): TResult

Defined in: src/core/terminal/TyneqOrderedTerminalOperator.ts:25

Executes the terminal operation and returns the result.

Returns

TResult