diff --git a/handlers/common/src/commonMain/kotlin/dev/inmo/micro_utils/handlers/common/HandlersRegistrar.kt b/handlers/common/src/commonMain/kotlin/dev/inmo/micro_utils/handlers/common/HandlersRegistrar.kt index f5ca6de9bc9..d2ffc6e415d 100644 --- a/handlers/common/src/commonMain/kotlin/dev/inmo/micro_utils/handlers/common/HandlersRegistrar.kt +++ b/handlers/common/src/commonMain/kotlin/dev/inmo/micro_utils/handlers/common/HandlersRegistrar.kt @@ -9,9 +9,9 @@ import kotlinx.coroutines.* * @param defaultHandler If presented will be used in case where there are no any layer from [layers] with any handler * to handle data inside of [handle] method */ -class HandlersRegistrar( - private val layers: Iterable>>, - private val defaultHandler: Handler? = null +open class HandlersRegistrar( + protected val layers: Iterable>>, + protected val defaultHandler: Handler? = null ) : Handler { /** * Will iterate over the [layers]. On each layer (in face each [Iterable] of [Handler]s) ALL the handlers will be