[New Library] AndroidX WorkManager extensions #3
Labels
api request
Request for a new API
enhancement
New feature or request
library request
Request for a new library
AndroidX WorkManager currently does have a KTX module, but it doesn't provide a lot of utilities :/
API suggestions
WorkInfo methods which return a
Flow
instead ofLiveData
(note: 2.9.0-alpha01 already offers such a feature, so we should provide a backwards-compatible Kotlin extension that emulates the 2.9.0-alpha01 methods on <=2.8.0)[WorkManager] Better Kotlin DSL for
Data
#4Add
suspend
methods for methods that return aLiveData
Add worker request methods that accept a
java.time.Duration
/kotlin.time.Duration
instead of aLong
+TimeUnit
Add top-level methods to create anonymous objects of interfaces (for e.g.
RunnableScheduler
)The text was updated successfully, but these errors were encountered: