run Wait Callbacks
Blocks the current thread to run a single queued callback. If no callback is queued, the method will block for the given timeout or until a callback becomes available.
Return
true if a callback has been run, false otherwise.
Parameters
timeout
The length of time to block.
Blocks the current thread to run a single queued callback. If no callback is queued, the method will block until one becomes available.