fetch

abstract suspend 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