Package-level declarations

Types

Link copied to clipboard
sealed class Resource<T>

Represents the result of an API operation in the Discovery API.

Link copied to clipboard
abstract class SuspendUseCase<in Request, Result>(coroutineDispatcher: CoroutineDispatcher)

Base class for executing suspendable use cases in the Discovery API.

Functions

Link copied to clipboard

Checks if the resource represents an error.

Link copied to clipboard

Checks if the resource represents a successful operation.