Home
last modified time | relevance | path

Searched refs:set_result (Results 1 – 2 of 2) sorted by relevance

/unit/test/python/delayed/
H A Dasgi.py29 loop.call_later(n, future.set_result, None)
/unit/src/python/
H A Dnxt_python_asgi.c1242 PyObject *set_result, *res; in nxt_py_asgi_set_result_soon() local
1250 set_result = PyObject_GetAttrString(future, "set_result"); in nxt_py_asgi_set_result_soon()
1251 if (nxt_slow_path(set_result == NULL)) { in nxt_py_asgi_set_result_soon()
1259 if (nxt_slow_path(PyCallable_Check(set_result) == 0)) { in nxt_py_asgi_set_result_soon()
1267 res = PyObject_CallFunctionObjArgs(ctx_data->loop_call_soon, set_result, in nxt_py_asgi_set_result_soon()
1280 Py_DECREF(set_result); in nxt_py_asgi_set_result_soon()