erase

abstract suspend fun <T> erase(key: Key<T>, timeout: Long?): T?

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

Return

Parameters

key
timeout

in millis