addContextItemExtractor

Function to add a ContextItemExtractor that extracts an item map from a coroutine context element.

Parameters

key

key to a coroutine context element

extractor

lambda that returns extracted context items