gatherInSequence

fun <T : Any> Context.gatherInSequence(target: String, type: KClass<out T>, inherit: Boolean = true): Sequence<Map.Entry<Name, T>>

Gather all content from context itself and its plugins in a form of sequence of name-value pairs. Ignores name conflicts.

Adds parent context sequence as well if inherit is true

inline fun <T : Any> Context.gatherInSequence(target: String, inherit: Boolean = true): Sequence<Map.Entry<Name, T>>