Notice: Over the next few months, we're reorganizing the App Engine documentation site to make it easier to find content and better align with the rest of Google Cloud products. The same content will be available, but the navigation will now match the rest of the Cloud products.

Python 3.10 is now generally available.

google.appengine.api.background_thread.start_new_background_thread

Starts a new background thread.

Creates a new background thread which will call target(*args, **kwargs).

target A callable for the new thread to run.
args Position arguments to be passed to target.
kwargs Keyword arguments to be passed to target.

The thread ID of the background thread.