StatusSignalTWaitForUpdate Method
Waits up to timeoutSec to get the up-to-date status signal value.
This performs a blocking refresh operation. If you want to non-blocking
refresh the signal, call
Refresh(Boolean) instead.
Namespace: CTRE.Phoenix6Assembly: Phoenix6 (in Phoenix6.dll) Version: 1.0.0
public StatusSignal<T> WaitForUpdate(
double timeoutSec,
bool reportError = true
)
member WaitForUpdate :
timeoutSec : float *
?reportError : bool
(* Defaults:
let _reportError = defaultArg reportError true
*)
-> StatusSignal<'T>
- timeoutSec Double
- Maximum time to wait for the signal to update
- reportError Boolean (Optional)
- Whether to report any errors to the console. Defaults true
StatusSignalTReference to itself