Skip to content

ObserveEvent

class ObserveEvent<Value>(v:Value, p:Distribution<Value>) < ValueEvent<Value>

Event triggered by an observe, typically from the ~> operator.

  • v: The observation.
  • p: The distribution.

Factory Functions

Name Description
ObserveEvent Create an ObserveEvent.

Member Variables

Name Description
v:Value Observation associated with the event.
p:Distribution<Value> Distribution associated with the event.

Factory Function Details

function ObserveEvent<Value>(v:Value, p:Distribution<Value>) -> ObserveEvent<Value>

Create an ObserveEvent.