Skip to content

Latest commit

 

History

History
118 lines (66 loc) · 2.7 KB

File metadata and controls

118 lines (66 loc) · 2.7 KB

@wholebuzz/mapreduce / Exports / types / ReduceContext

Interface: ReduceContext<Key, Value>

types.ReduceContext

Type parameters

Name
Key
Value

Hierarchy

  • Context<Key, Value>

    ReduceContext

Table of contents

Properties

Properties

configuration

configuration: Configuration

Inherited from: Context.configuration

Defined in: src/types.ts:28


currentItem

currentItem: Item[]

Defined in: src/types.ts:43


currentItemSource

Optional currentItemSource: string[]

Defined in: src/types.ts:44


currentKey

Optional currentKey: Key

Inherited from: Context.currentKey

Defined in: src/types.ts:29


currentValue

currentValue: Value[]

Defined in: src/types.ts:45


keyProperty

keyProperty: string

Inherited from: Context.keyProperty

Defined in: src/types.ts:30


valueProperty

valueProperty: string

Inherited from: Context.valueProperty

Defined in: src/types.ts:31


write

write: (key: Key, value: any) => void

Type declaration

▸ (key: Key, value: any): void

Parameters

Name Type
key Key
value any

Returns: void

Inherited from: Context.write

Defined in: src/types.ts:32