Functions

Link copied to clipboard
open fun blockingDownload()

Downloads the resource in scope in a synchronous way. Important: this is a blocking method and it should not be executed in the main thread. Consider the asynchronous version .rxDownload. The method will finish with a void as soon as the whole download and processing is finished.

Link copied to clipboard

Returns if the object exists in a synchronous way. Important: this is a blocking method and it should not be executed in the main thread. Consider the asynchronous version .rxExists.

Link copied to clipboard
open fun blockingGet(): M?

Returns the object in a synchronous way. Important: this is a blocking method and it should not be executed in the main thread. Consider the asynchronous version .rxGet.

Link copied to clipboard
open fun download(): Completable

Downloads the resource in scope in an asynchronous way. As soon as it's downloaded and processed, the Completable is completed.

Link copied to clipboard
open fun exists(): Single<Boolean>

Returns if the object exists in an asynchronous way, returning a Single<Boolean>.

Link copied to clipboard
open fun get(): Single<M>

Returns the object in an asynchronous way, returning a Single<M>.

Link copied to clipboard
open fun rxDownload(): Completable

Downloads the resource in scope in an asynchronous way. As soon as it's downloaded and processed, the Completable is completed.

Link copied to clipboard
open fun rxExists(): Single<Boolean>

Returns if the object exists in an asynchronous way, returning a Single<Boolean>.

Link copied to clipboard
open fun rxGet(): Single<M>

Returns the object in an asynchronous way, returning a Single<M>.

Link copied to clipboard
open suspend override fun suspendDownload()

Downloads the resource in scope in a suspend way. The coroutine will complete when the download and processing is finished.

Link copied to clipboard
open suspend override fun suspendExists(): Boolean

Returns if the object exists in a suspend way.

Link copied to clipboard
open suspend override fun suspendGet(): M?

Returns the object in a suspend way.