Skip to content

Latest commit

 

History

History
127 lines (71 loc) · 2.89 KB

types.mapcontext.md

File metadata and controls

127 lines (71 loc) · 2.89 KB

@wholebuzz/mapreduce / Exports / types / MapContext

Interface: MapContext<Key, Value>

types.MapContext

Type parameters

Name
Key
Value

Hierarchy

  • Context<Key, Value>

    MapContext

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:36


currentKey

Optional currentKey: Key

Inherited from: Context.currentKey

Defined in: src/types.ts:29


currentValue

currentValue: Value

Defined in: src/types.ts:37


inputKeyProperty

Optional inputKeyProperty: string

Defined in: src/types.ts:38


inputValueProperty

Optional inputValueProperty: string

Defined in: src/types.ts:39


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