Callback function for requests expecting an MeasuringUnit value.

Syntax

function(<MeasuringUnit> unit)