google.appengine.runtime.background.EnqueueBackgroundThread

Enqueues a new background thread request for a certain request ID.

request_id A str containing the request ID for this background thread.
target A callable for the background thread to execute.
args A tuple of positional args to be passed to target.
kwargs A dict of keyword args to be passed to target.

The thread_id of the background thread.