updateInstrumentMeasurement

Update a Instrument.Measurements for the given instrument in the Measurements.

Return

A new Measurements instance with the updated measurements.

Parameters

block

A function to update the current Instrument.Measurements for the given instrument. If it's null, it means there are no measurements for the instrument yet.