-
- All Implemented Interfaces:
-
dev.openfeature.sdk.events.EventObserver
,dev.openfeature.sdk.events.EventsPublisher
,dev.openfeature.sdk.events.ProviderStatus
public final class EventHandler implements EventObserver, EventsPublisher, ProviderStatus
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
EventHandler.Companion
-
Constructor Summary
Constructors Constructor Description EventHandler(CoroutineDispatcher dispatcher)
-
Method Summary
Modifier and Type Method Description Unit
publish(OpenFeatureEvents event)
<T extends OpenFeatureEvents> Flow<T>
observe(KClass<T> kClass)
Boolean
isProviderReady()
-
-
Method Detail
-
publish
Unit publish(OpenFeatureEvents event)
-
observe
<T extends OpenFeatureEvents> Flow<T> observe(KClass<T> kClass)
-
isProviderReady
Boolean isProviderReady()
-
-
-
-