SharedStorageOccupancyObserver typedef

SharedStorageOccupancyObserver = void Function(Logic occupancy, int capacity)

Receives an occupancy signal and the capacity it counts up to.

Used by performance monitors; the signal is owned by the module that computes it and must only be observed, never connected.

Implementation

typedef SharedStorageOccupancyObserver = void Function(
    Logic occupancy, int capacity);