Removes the given callback from the queue.
Time complexity: O(log(n)).
public function remove(TimerCallback $callback) : void { $id = $callback->id; if (!isset($this->pointers[$id])) { return; } $this->removeAndRebuild($this->pointers[$id]); }