Treatment checkedFormat

std/text/compose::checkedFormat


Parameters

↳ var format: string

Inputs

⇥ entries: Stream<StringMap> (std/data/string_map::StringMap)

Outputs

↦ formatted: Stream<Option<string>>


Format stream.

Stream string formatted with given entries. Format string is expected to contains braced placeholders, like: "Hello {name}!".

If a formatting error happens, like missing key of incorrect format string, none is sent.