io.yawp.testing.appengine.TestingTaskQueueCallback Maven / Gradle / Ivy
package io.yawp.testing.appengine;
import com.google.appengine.api.urlfetch.URLFetchServicePb;
import com.google.appengine.tools.development.testing.LocalTaskQueueTestConfig;
public class TestingTaskQueueCallback extends LocalTaskQueueTestConfig.DeferredTaskCallback {
@Override
public int execute(URLFetchServicePb.URLFetchRequest req) {
try {
return super.execute(req);
} finally {
AsyncHelper.release();
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy