ScalarReadablePort
Interface
Section titled “Interface”export interface ScalarReadablePort extends SnapshotPort { readonly scalar: number; // unbounded continuous}PURPOSE
Section titled “PURPOSE”A port providing an unbounded continuous numeric value.
| Property | Description |
|---|---|
scalar | An unbounded continuous value |
Must inherit from SnapshotPort.
When snapshot() is called, the port must capture the value at that moment and maintain it internally, ensuring that scalar does not change until the next snapshot().