public <V> Future<V> enqueue(Callable<V> callable) {
        AppTask<V> task = new AppTask<>(callable);
        taskQueue.add(task);
        return task;
    }
Enqueues a task/callable object to execute in the jME3
rendering thread.

@param <V> type of result returned by the Callable
@param callable the Callable to run
@return a new instance
jme3-core/src/main/java/com/jme3/scene/control/UpdateControl.java