tyneq / TyneqCachedTerminalOperator
Abstract Class: TyneqCachedTerminalOperator<TSource, TResult>
Defined in: src/core/terminal/TyneqCachedTerminalOperator.ts:16
Abstract base for terminal operators that require a fully cached sequence.
Remarks
Use this when your terminal operator needs access to cached-sequence members (the internal cache, refresh(), etc.). Register with @cachedTerminal or createCachedTerminalOperator.
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
TSource | - | Element type of the source sequence. |
TResult | TSource | The return type of process(). |
Constructors
Constructor
new TyneqCachedTerminalOperator<
TSource,TResult>(source):TyneqCachedTerminalOperator<TSource,TResult>
Defined in: src/core/terminal/TyneqCachedTerminalOperator.ts:19
Parameters
| Parameter | Type |
|---|---|
source | CachedEnumerable<TSource> |
Returns
TyneqCachedTerminalOperator<TSource, TResult>
Properties
| Property | Modifier | Type | Defined in |
|---|---|---|---|
source | readonly | CachedEnumerable<TSource> | src/core/terminal/TyneqCachedTerminalOperator.ts:17 |
Methods
process()
abstractprocess():TResult
Defined in: src/core/terminal/TyneqCachedTerminalOperator.ts:25
Executes the terminal operation and returns the result.
Returns
TResult