stateOf

suspend fun stateOf(uniqueName: String): WorkInfo.State?(source)

Returns the current WorkInfo.State of a WorkManager task, or null if not found.