Click or drag to resize

ListAPIRegisterListIdleCallback Method

Register a callback function that is called when an ListIdle event occurs.

Namespace: RAYLASE.SPICE3.ClientLib
Assembly: RAYLASE.SPICE3.ClientLib (in RAYLASE.SPICE3.ClientLib.dll) Version: 3.12.1
Syntax
C#
public void RegisterListIdleCallback(
	Action<ClientAPI, int> action
)

Parameters

action  ActionClientAPI, Int32
The callback function.
Remarks

Note that the notification thread will be blocked until all callbacks have been executed. If the callback cannot finish fast, then it is strongly recommended running its action asynchronously. Alternatively, you may consider calling WaitForListIdle(NullableInt32, NullableInt32) instead.

The callback receives the listId as parameter.

See Also