Skip to main content
The 2024 Developer Survey results are live! See the results

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.

0 votes
1 answer
23 views

How to properly implement a ZoneSpecification(fork: ) handler in Dart

When I try to implement a fork override for ZoneSpecifications like this: runZoned( () { runZoned(() { print('in zone'); }); }, zoneSpecification: ZoneSpecification( fork: (self, parent, ...
Nico Rodsevich's user avatar
0 votes
0 answers
5 views

Swift - AVAsset.duration deprecated - using the async replacement from a synchronous function

AVAsset.duration and other simple properties are being deprecated. I can't seem to wrap my head around how to change to use the async functions from a synchronous function. The old code was very ...
Pete's user avatar
  • 45
0 votes
0 answers
16 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,...
1000111's user avatar
  • 13.4k
-2 votes
0 answers
42 views

My partner and I are running the same code, but mine is the only one not working on my local server [closed]

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 '...
displayingmyname's user avatar
0 votes
1 answer
46 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 ...
WDUK's user avatar
  • 1,472
0 votes
0 answers
12 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 ...
George Leontopoulos's user avatar
0 votes
1 answer
50 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 ...
Pieter's user avatar
  • 133
0 votes
0 answers
18 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 ...
Soumya Patel's user avatar
1 vote
1 answer
29 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 ...
Jadore Thompson's user avatar
0 votes
1 answer
40 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 ...
Nat's user avatar
  • 1,624
-2 votes
0 answers
19 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 ...
Matthew Bowler's user avatar
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 ...
Beshman88's user avatar
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 ...
Amarth Gûl's user avatar
  • 1,056
0 votes
0 answers
19 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 ...
biiyamn's user avatar
  • 476
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 ...
MAthieu Le Masson's user avatar

15 30 50 per page
1
2 3 4 5
3459