Revert "now HandlersRegisrar properties are open"

This reverts commit 67b9a03366.
This commit is contained in:
InsanusMokrassar 2022-04-25 22:04:33 +06:00
parent 67b9a03366
commit d85b3d0da9

View File

@ -10,8 +10,8 @@ import kotlinx.coroutines.*
* to handle data inside of [handle] method
*/
open class HandlersRegistrar<T>(
protected open val layers: Iterable<Iterable<Handler<T>>>,
protected open val defaultHandler: Handler<T>? = null
protected val layers: Iterable<Iterable<Handler<T>>>,
protected val defaultHandler: Handler<T>? = null
) : Handler<T> {
/**
* Will iterate over the [layers]. On each layer (in face each [Iterable] of [Handler]s) ALL the handlers will be