replace

open suspend fun replace(old: Component, new: Component): Boolean

Given two components, replace the old component with the new one and likewise handle registration.


open suspend fun replace(id: String, new: Component): Boolean

Given an old component ID and new component, replace the old component with the new one and likewise handle registration.