getOrCreateAggregateContext

inline fun <C : Any> getOrCreateAggregateContext(noinline compute: () -> C): C(source)

Returns the aggregate context as C.

The C is created the first time the function is called using compute and is returned on subsequent call.