Coverage Summary for Class: ViewModel (com.javiersc.kaari.viewmodel)

Class Class, % Method, % Branch, % Line, % Instruction, %
ViewModel 100% (1/1) 50% (1/2) 50% (2/4) 25% (2/8)


 package com.javiersc.kaari.viewmodel
 
 import kotlinx.coroutines.CoroutineScope
 import kotlinx.coroutines.cancel
 
 public actual abstract class ViewModel actual constructor() {
 
     public actual abstract val scope: CoroutineScope
 
     protected actual fun onCleared() {
         scope.cancel()
     }
 }