addCancellable

fun addCancellable(cancellable: OmhCancellable?)

Adds a cancelable object to the collections. This cancellable can be a nullable for better compatibility with the OmhTask class.