fetch

open override fun <T> fetch(key: Key<T>): T?

Fetch value associated with key or null

Return

value associated with key or null

Parameters

key

open suspend override fun <T> fetch(key: Key<T>, timeout: Long?): T?

Same as fetch in ApplicationContext with additional timeout parameter for wait time in case of multiple threads blocking on this method

Return

Parameters

key
timeout

in millis