setTimeout

Sets the timeout duration for the scanning operation.

Parameters

timeout

The maximum duration before the scan times out. Defaults to 1 minute.