Hi, I am new to the concept of task queue when I called the manual that I hit on this line
queue.add(
DatastoreServiceFactory.getDatastoreService().getCurrentTransaction(),
TaskOptions().url("/path/to/my/worker"));
what is a TaskOptions()method. Whether the default method is a manually created method, the method will be returned TaskOptions().
I created a method called TaskOption()when I returned the string value, saying it as"The method url(String) is undefined for the type String"
In url, what I want to specify a servlet is any other.
My doubt may be stupid, but please clarify this.
Thanks, Sharun.
source
share