Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
class CancellableCollector
A collection of OmhCancellable that allows to cancel them all in a single operation. This is a util class for handling the OmhTask returns.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open class OmhTask<T>(task: suspend () -> T, coroutineContext: CoroutineContext = Dispatchers.IO + SupervisorJob(), customScope: CoroutineScope = CoroutineScope(context = coroutineContext)) : BaseOmhTask<T>
A wrapper class for the async library that's used in a specific OMH implementation. This creates a layer of abstraction between the developer and the library that doesn't force the preferred async library on them.