observeModules

abstract fun <R> observeModules(transform: (List<T>) -> Observable<R>): Subscribable<R>

Observe observables from all Module instances of type T.

The transform is provided with a list of all currently available Modules, and should return an Observable that emits values based on the provided list of Modules.

Return

A Subscribable for the inner Observable.

Parameters

transform

: The transformation that maps the list of Modules to an Observable.