subscribe

abstract fun <T : DidEvent> subscribe(eventType: Class<T>): Flow<T>

Subscribe to events of a specific type.

Return

Flow of events of the specified type

Type Parameters

T

The event type to subscribe to