Updated on 2026-08-14
This commit is contained in:
parent
76987714e2
commit
74c09ab3ba
6 changed files with 154 additions and 59 deletions
|
|
@ -12,6 +12,9 @@ import kotlinx.coroutines.launch
|
|||
*/
|
||||
class JobHolder {
|
||||
|
||||
val isActive: Boolean
|
||||
get() = job?.isActive ?: false
|
||||
|
||||
private var job: Job? = null
|
||||
|
||||
/** Update current [JobHolder.job] and return new [job] */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue