mirror of
https://github.com/InsanusMokrassar/MicroUtils.git
synced 2024-11-29 21:48:45 +00:00
now HandlersRegisrar properties are open
This commit is contained in:
parent
3ac56dcfd3
commit
67b9a03366
@ -10,8 +10,8 @@ import kotlinx.coroutines.*
|
|||||||
* to handle data inside of [handle] method
|
* to handle data inside of [handle] method
|
||||||
*/
|
*/
|
||||||
open class HandlersRegistrar<T>(
|
open class HandlersRegistrar<T>(
|
||||||
protected val layers: Iterable<Iterable<Handler<T>>>,
|
protected open val layers: Iterable<Iterable<Handler<T>>>,
|
||||||
protected val defaultHandler: Handler<T>? = null
|
protected open val defaultHandler: Handler<T>? = null
|
||||||
) : Handler<T> {
|
) : Handler<T> {
|
||||||
/**
|
/**
|
||||||
* Will iterate over the [layers]. On each layer (in face each [Iterable] of [Handler]s) ALL the handlers will be
|
* Will iterate over the [layers]. On each layer (in face each [Iterable] of [Handler]s) ALL the handlers will be
|
||||||
|
Loading…
Reference in New Issue
Block a user