Is there a way to copy or clone Koin scope as new scope instance?

66 views Asked by At

Using Koin library I'm trying to achive this behaviour:

val scopeA = getScope(ID)
val scopeB = scopeA.clone()

Short speaking, clone() should copy all instances from one scope to another. So in this case I can modify scopeB without modifying the original scopeA.

Is this possible?

0

There are 0 answers