StatusSignalNativeWaitForSignal Method

Gets the signal in a blocking manner and updates the StatusSignalNativeStatusSignalInfo struct with the updated information.

Definition

Namespace: CTRE.Phoenix6.Native
Assembly: Phoenix6 (in Phoenix6.dll) Version: 1.0.0
C#
public static int WaitForSignal(
	ref StatusSignalNativeStatusSignalInfo signal,
	double timeoutSeconds
)

Parameters

signal  StatusSignalNativeStatusSignalInfo
Reference of struct to update information to
timeoutSeconds  Double
How long to wait for the signal to arrive

Return Value

Int32
Status code response of the WaitForSignal operation

See Also