getCallback

Gets the next callback object in the queue, and removes it.

Return

The next callback in the queue, or null if no callback is waiting.