Dulini Atapattu
Dulini Atapattu

Reputation: 2735

GAE: is leaseTask in pull queue an asynchronous call?

I would like to use GAE Task Queue (pull queue) as a message queue in an app. The receiveMessage calls in other message queue services (Ex. AmazonSQS) are asynchronous calls, providing web scalability to the apps.

The pull queue have the call: leaseTask instead of receiveMessage and I would like to know whether this call is asynchronous, as I need to provide web scalability to my app.

Thanks

Upvotes: 0

Views: 158

Answers (1)

Shay Erlichmen
Shay Erlichmen

Reputation: 31928

leaseTasks returns a task (or tasks) hence it cannot be asynchronous.

Upvotes: 0

Related Questions