From 50d79fdf2bc980a68e146a0cdd603658ee642fb1 Mon Sep 17 00:00:00 2001 From: therealbush Date: Sun, 24 Apr 2022 13:08:35 -0700 Subject: explitly declared transitive dependencies, made eventbus open for object singletons --- src/main/kotlin/me/bush/eventbuskotlin/EventBus.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/main/kotlin/me/bush/eventbuskotlin/EventBus.kt b/src/main/kotlin/me/bush/eventbuskotlin/EventBus.kt index e08ef14..93b9199 100644 --- a/src/main/kotlin/me/bush/eventbuskotlin/EventBus.kt +++ b/src/main/kotlin/me/bush/eventbuskotlin/EventBus.kt @@ -10,7 +10,7 @@ import kotlin.reflect.KClass * @author bush * @since 1.0.0 */ -class EventBus(private val config: Config = Config()) { +open class EventBus(private val config: Config = Config()) { private val listeners = ConcurrentHashMap, ListenerGroup>() private val subscribers = ConcurrentHashMap.newKeySet() private val cache = ConcurrentHashMap?>() -- cgit