/** Run the specified callback once the necessary code for it has been loaded. */ public static void runAsync(RunAsyncCallback callback) { callback.onSuccess(); }
/** * The same as {@link #runAsync(RunAsyncCallback)}, except with an extra parameter to provide a * name for the call. The name parameter should be supplied with a class literal. No two runAsync * calls in the same program should use the same name. */ @SuppressWarnings("unused") // parameter will be used following replacement public static void runAsync(Class<?> name, RunAsyncCallback callback) { callback.onSuccess(); }