setWaitForConversion()

Sets whether when receiving sensor data, wait until you receive it or immediately exit the function. In other words, enable asynchronous or synchronous mode. Synchronous is enabled by default. sensors.setWaitForConversion(flag)
sensors: a variable of type DallasTemperature.
flag: true - enables synchronous mode of operation, false enables asynchronous mode.
nothing