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: Booleanwhether the scope has been disposed |
| name | val name: Stringthe scope name |
| parent | val parent: BaseScope?the parent scope (if any) |
| addOnDispose | open fun addOnDispose(fn: () -> Unit): UnitAdds an action to execute when the scope is disposed |
| dispose | open fun dispose(): UnitMarks the scope as disposed. |