Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Treatment insert

std/data/map::insert


Generics

◻ T (any)

Parameters

↳ var key: string

Inputs

⇥ base: Stream<Map> (std/data/map::Map)
⇥ value: Stream<T>

Outputs

↦ map: Stream<Map> (std/data/map::Map)


For every (base, value) pair received from the two streams, insert keyvalue into a copy of base and emit it on map.