FlowUseCase

abstract class FlowUseCase<ARGS, T>

Base Flow use case meant to use in CoroutineScopeOwner implementations

Constructors

FlowUseCase
Link copied to clipboard
fun FlowUseCase()

Functions

build
Link copied to clipboard
abstract fun build(args: ARGS): Flow<T>
Function which builds Flow instance based on given arguments
equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
toString
Link copied to clipboard
open fun toString(): String

Properties

job
Link copied to clipboard
var job: Job? = null
Job used to hold and cancel existing run of this use case