Hi all,
there is a small breaking change in task queue gaelyk api in latest gaelyk 2.0 snapshots. the overloaded left shift operator will now call Queue.addAsync instead of Queue.add returning Future<TaskHandle>.
If you are just bypassing the returned value like in following snippet:
defaultQueue << taskParams
re i
nothing changes for you. if you are using the returned handle you need to rewrite your code
TaskHandle handle = defaultQueue << taskParams
to
Future<TaskHandle> handle = defaultQueue << taskParams
The main reason we made this change is that by our experience the call without using the returned value is the most used one. As the returned value isn't used there is no need to make the call synchronously saving a few milliseconds in groovlet processing.
Cheers,
Vladimir