Yahoo Poland Wyszukiwanie w Internecie

Search results

  1. 12 kwi 2019 · The application is connected to an API (written in Python) on a separate server with NGINX (similar Linux Azure virtual machine). This API performs a complex operation which takes between 30sec and 20 min to complete. So the application has to wait for it. The problem is that with long wait times, the API respond is not registered in the web app.

  2. Is there a way in PHP to make HTTP calls and not wait for a response? I don't care about the response, I just want to do something like file_get_contents() , but not wait for the request to finish before executing the rest of my code.

  3. On Windows, this value will always be 192, which is the value of the WAIT_IO_COMPLETION constant within the Windows API. On other platforms, the return value will be the number of seconds left to sleep. PHP Version: 4+ Changelog: Before PHP 5.3.4, this function always returns NULL when sleep has occurred on Windows.

  4. In this tutorial, you'll learn how to add time delays to your Python programs. You'll use decorators and the built-in time module to add Python sleep() calls to your code. Then, you'll discover how time delays work with threads, asynchronous functions, and graphical user interfaces.

  5. 28 gru 2015 · The first method shown, get_json(), is called by get_reddit_top() and just creates an HTTP GET request to the appropriate Reddit URL. When this is called with await , the event loop can then continue on and service other coroutines while waiting for the HTTP response to get back.

  6. 18 sty 2024 · Consider, for example, the need to execute five independent HTTP requests to an API. In this situation, we send the first request and wait for its response, then proceed to send the second request and wait again, continuing this pattern through all five requests.

  7. 30 wrz 2024 · Asynchronous HTTP requests in PHP allow multiple requests to be sent without waiting for a response before proceeding. This enables non-blocking operations, improving performance by executing other tasks while waiting for the server’s response, typically achieved using libraries like cURL or Guzzle.

  1. Ludzie szukają również