remove

inline fun <R> remove(silent: Boolean = false)(source)
fun remove(key: TypeKey<*>, silent: Boolean = false)(source)

Remove a dependency from the component.

Throws

If the dependency doesn't exist and silent is false.