Skip to content
This repository has been archived by the owner on Dec 25, 2023. It is now read-only.

Add an API to run all "idle" tasks #134

Open
GoogleCodeExporter opened this issue Jun 10, 2015 · 1 comment
Open

Add an API to run all "idle" tasks #134

GoogleCodeExporter opened this issue Jun 10, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

Implementing write-and-forget using put_async() has the problem that the RPC 
isn't sent until you block for some other I/O (using NDB's event loop). This 
makes a fire-and-forget example in the tutorial a bit awkward.

Original issue reported on code.google.com by guido@google.com on 11 Jan 2012 at 9:44

@GoogleCodeExporter
Copy link
Author

Another possible API would be a flush=True flag on the put_async() call. This 
would only run the idler for the indicated autobatcher.

Original comment by guido@google.com on 11 Jan 2012 at 9:46

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants