graphmine-core / io.github.sof3.graphmine.scope / BaseScope
open class BaseScope :
Scope
Basic implementation of BaseScope
<init> | BaseScope(klass: KClass <out Any >, name: String , parent: BaseScope ? = null) BaseScope(klass: KClass <out Any >, parent: BaseScope ? = null) BaseScope(name: String , parent: BaseScope ? = null) Basic implementation of BaseScope |
coroutineContext | open val coroutineContext: CoroutineContext |
isDisposed | open var isDisposed: Boolean whether the scope has been disposed |
name | val name: String the scope name |
parent | val parent: BaseScope ? the parent scope (if any) |
addOnDispose | open fun addOnDispose(fn: () -> Unit ): Unit Adds an action to execute when the scope is disposed |
dispose | open fun dispose(): Unit Marks the scope as disposed. |