Questions tagged [asynchronous]
Asynchronous programming is a strategy for deferring operations with high latency or low priority, usually in an attempt to improve performance, responsiveness, and / or composability of software. Such strategies are usually employed using some combination of event-driven programming and callbacks, and optionally making use of concurrency through coroutines and / or threads.
asynchronous
51,879
questions
0
votes
0
answers
9
views
How to Run a Method Asynchronously in a Reactive Chain in Spring WebFlux?
I'm trying to execute a method asynchronously within an existing reactive chain in my Project Reactor-based application. The method doUpdateLayoutInAsync is intended to perform a heavy background task,...
0
votes
0
answers
26
views
My partner and I are running the same code, but mine is the only one not working on my local server
We are working with Django to perform an asynchronous export task that will populate a CSV with information and then download the CSV automatically to the user's Downloads once a user hits the button '...
0
votes
0
answers
35
views
How do i make my function correctly use a callback after async functions are completed?
I have this function that loads a number of assets via async and i want to call the onComplete action when all the assets have been loaded but currently given the nature of async i am not sure how to ...
0
votes
0
answers
8
views
WCF unexpected async behavior
I have a windows service application in .NET 4.6. Inside this windows service, I host a WCF REST API. The API itself exposes an endpoint that makes a call to an external SOAP service (this SOAP ...
0
votes
1
answer
43
views
How can I make my method async when it calls a library method requiring a completion?
In my app I'm using a third party library, AppGuard, to log users in. To do so the library has a method that takes a completion. Recently I got the suggestion to convert it to async/await as actors ...
0
votes
0
answers
16
views
SimPy Simulation: How to Ensure Single Container Unloading and Sequential Transport in a Container Terminal?
I'm working on a SimPy simulation for a container terminal where vessels arrive, berth, and unload containers using cranes, followed by transport using trucks. Problem Statement_pt1 ,Problem ...
1
vote
1
answer
27
views
Event loop is closed Python Async
I've built an email script , utilising a user's app key from google to get access to their email. However when i run the script i get the error 'Runtime Error: event loop is closed.
On initial ...
0
votes
1
answer
34
views
SwiftUI Best ways to prevent onChange from executing until values have loaded
I'm trying to observe some state variables, of which are set/loaded when the entire view appears using .onAppear(). Problem is, this onChange is firing when the user loads the view without editing the ...
-2
votes
0
answers
18
views
Google maps api in javascript intermittently crashing from being unpopulated in deployed environments
Our React application has been working with the google maps API for over 5 years now. Seemingly randomly and out of no where in deployed environments errors in relation to the global google variable ...
1
vote
1
answer
56
views
Table list doesn't update inside async timer
I'm rather new to Blazor, but not to OO languages
I've got a web service that has a controller that returns requests from a repository
I have a UI service that is independent and calls the web service
...
0
votes
0
answers
23
views
Unity Undertone Voice Recognition Not Recognizing Speech From the Second Time Being Invoked
I am using Undertone for a Unity project to recognize user speech input and transcribe them in real time.
I largely duplicated from the RealtimeTranscriber.cs example, which is included in their demo ...
0
votes
0
answers
18
views
How to Perform Asynchronous Operations in Netty's channelRead Method Without Immediate Pipeline Propagation
I am developing an application using Netty and need to perform an asynchronous operation within the channelRead method of a handler. My goal is to make this async call without immediately propagating ...
0
votes
0
answers
20
views
Trying to avoid Timeouts testing my odoo app with Playwright
I'm having some troubles while testing my odoo app with playright.
I often find playwright clicking too fast for elements to be activated already, or to modify a field, then try to do something else ...
0
votes
0
answers
30
views
SQLAlchemy async Records are not added to the association table
Please tell me what I'm doing wrong.
There is this code. Tables are created, model tables
are filled, everything works. But records are not added to the association table.
The code completes without ...
-1
votes
0
answers
19
views
HTML5: Asynchronously updated element [closed]
Is it possible, using the capabilities of HTML5, to create an asynchronous element on a page that can reload its content without completely reloading the page? For example, a table that includes an &...