subscribe For Single
fun subscribeForSingle(eventType: String, listener: STWEventListener<STWEvent>): Disposable
Content copied to clipboard
fun <T : STWEvent> subscribeForSingle(eventType: Class<T>, listener: STWEventListener<T>): Disposable
Content copied to clipboard
Subscribes for the next event with the given eventType.
fun subscribeForSingle( eventType: String, filter: (STWEvent) -> Boolean, listener: STWEventListener<STWEvent>): Disposable
Content copied to clipboard
Subscribes for the next event with the given eventType with additional filter.