select

open fun select(key: String): Flow<Pair<String?, Map<String, String>>>

Selects with the given key a Pair of the value and all routing parameters as Map.

Return

Flow of the resulting Pair

Parameters

key

for getting the value from the parameter Map


open fun select(key: String, orElse: String): Flow<String>

Returns the value for the given key from the routing parameters.

Return

Flow of String with the value

Parameters

key

for getting the value from the parameter Map

orElse

if key is not in Map