Optional deadline in seconds for the operation; the default
value is a system-specific deadline, which is typically 5 seconds. After
the deadline, a DeadlineExceededError error will be returned.
callback
Optional function to be called with the Task Queue service
returns results successfully when get_result(), check_success(),
or wait() is invoked on the RPC object. The function is
called without arguments. The function is not called in a background
process or thread; the function is only called when one of the above
methods is called by the application. The function is called even if
the request fails or the RPC deadline elapses.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2022-09-30 UTC."],[[["This function `create_rpc` generates an RPC object for interacting with the Task Queue API."],["You can set an optional `deadline` (in seconds) for the operation, defaulting to a system-specific value of around 5 seconds, after which a `DeadlineExceededError` is raised."],["An optional `callback` function can be provided to be executed upon successful result retrieval via `get_result()`, `check_success()`, or `wait()`."],["The function returns an `apiproxy_stub_map.UserRPC` object tailored for the Task Queue service."]]],[]]