process


Description:

public abstract bool process (TimeSpan wait = 0)

Process a single task in the queue

This is method should not usually be called by user code (which should usually be calling one of the *_execute methods instead). This method assumes that any locks have already been acquired.

Parameters:

wait

the maximum number of microseconds to wait for an item to appear in the queue (0 for no waiting, < 0 to wait indefinitely).

Returns:

true if an item was processed, false if not




2022 vala-language.org