KaLifetimeTracker¶
interface KaLifetimeTracker : KaEngineService
KaLifetimeTracker is an engine service which tracks the current KaLifetimeToken.
It can be used in the implementation of custom lifetime tokens to check that the accessed token is in scope.
Types¶
Companion¶
object Companion
Properties¶
currentToken¶
abstract val currentToken: KaLifetimeToken?
Returns the KaLifetimeToken for the currently active analysis, or null if no analysis is in progress.