OneTimeOwner

class OneTimeOwner(onAccessAfterKilled: () => Unit) extends Owner

Owner that can not be used after it was killed. Used in Laminar via DynamicOwner.

Owner that can not be used after it was killed. Used in Laminar via DynamicOwner.

Value Params
onAccessAfterKilled

Called if you attempt to use this owner after it was killed. It's intended to log and/or throw for reporting / debugging purposes.

trait Owner
class Object
trait Matchable
class Any

Value members

Concrete methods

@inline
def isKilledForever: Boolean