addWithOverwrite

abstract suspend fun <T> addWithOverwrite(key: Key<T>, value: T?, timeout: Long?): Any?

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

Return

Parameters

key
value
timeout

in millis