from

fun from(vararg disposableLikes: DisposableLike): Disposable(source)

Combine many disposable-likes into one. You can use this method when having objects with a dispose function which aren't instances of Disposable.

Parameters

disposableLikes

Objects that have at least a dispose-function member. Note that asynchronous dispose-functions aren't awaited.