TimerExtensions extension

on

Methods

onActive<T>(T callback) → T?
return T when timer is still active and not null else return null
onActiveOrNull<T>(T callback) → T?
return T when timer is still active or is null else return null
onNotActive<T>(T callback) → T?
return T when timer is not active and not null else return null
onNotActiveOrNull<T>(T callback) → T?
return T when timer is not active or is null else return null