override

inline fun override(block: () -> Unit)(source)

Service registry functions will override already existing services with the same TypeKey inside of the block.