Scoop API

scoop:scoop.core:0.1.0

ValueObservation

class ValueObservation

source · line 46
public
public class ValueObservation public constructor(
    /**
     * The concrete type associated with this observation.
     */
    public override val type: TypeRef,
    /**
     * The reference identity supplied by the inspector, or None for identity-free observations.
     */
    public override val referenceIdentity: Option<Any>,
    private val describeBody: () -> ValueShape
) : ValueView

A function-backed observation whose shape is evaluated on request.

property referenceIdentity

source · line 54
public
public override val referenceIdentity: Option<Any>

get: public read-only

The reference identity supplied by the inspector, or None for identity-free observations.

property type

source · line 50
public
public override val type: TypeRef

get: public read-only

The concrete type associated with this observation.