Skip to main content
-2 votes
0 answers
45 views

Can't get synchronous result from IJSRuntime.InvokeAsync()

Here is some code: App.razor <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="...
Shadow's user avatar
  • 5
2 votes
1 answer
60 views

JavaScript - synchronous execution of code

I tried to demonstrate to someone how JavaScript executes code synchronously, and it didn't work the way I expected. So I'm trying to figure out why my little snippet didn't do what I expected it to ...
apex2022's user avatar
  • 877
0 votes
2 answers
83 views

Why uncaughtException handler not working globally?

I'm developing a Express + PostgreSQL app and I want to implement a global error handler system. Now I want to caught all uncaught exceptions from my entire project. Server is running with nodemon. A ...
Corneliu's user avatar
0 votes
1 answer
22 views

Unparameterized call to FutureRecordMetadata.get() timing out in 60 seconds when Kafka timeout is configured to 25 seconds

I am having trouble understanding how exactly the unparameterized get on Kafka's FutureRecordMetadata class works. I have a method in a service where I produce to a topic and want to return only when ...
Georgi Traykov's user avatar
0 votes
1 answer
42 views

How to synchronously Fire URI stored in an array

one.tsx function fnOne() { var urlMap = new Map(); urlMap.put ("1", ["https://thetestrequest.com/comments/1", "https://thetestrequest.com/comments/2&...
Chidambaram L's user avatar
0 votes
0 answers
79 views

Why is my async code no faster than synchronous?

So I had built a data pipeline which fetches reports from api endpoints, does some basic cleaning transformations and then concatenates the data into a an output dataframe. Originally I used ...
cluelessThrasher's user avatar
1 vote
1 answer
50 views

Is it safe to dispatch actions in store listener callbacks?

I have a Redux webpage with a complex UI component (a map). The component's visual state and its internal model depend on the current Redux store's state and browser state (viewport resolution, DPI, ...
Sebastian Barth's user avatar
0 votes
1 answer
76 views

Best way to test vallid links in feed using Swift or Objective-C

I am building a feed with links to multimedia assets. If a link is bad it should not be in the feed as a video that does not play or image that does not load is a poor user experience. The feed is ...
user6631314's user avatar
  • 2,050
0 votes
0 answers
81 views

Task.Run with and without async delegate [duplicate]

I don't understand clearly difference between almost following Task asynchronous code execution. Only difference is the async keyword as parameter. Example - I think this code inside Task run will ...
Jason's user avatar
  • 3
0 votes
0 answers
75 views

Fixing issues with my reading settings file synchronously before any page gets loaded

The following code has the class that I use to store and retrieve data from the device's DocumentsDirectory. The asynchronous versions of retrieving and writing files have been tested to work well. ...
rusty's user avatar
  • 1,161
-1 votes
2 answers
57 views

Why is this Python code exiting before pyodbc SQL commit is finished

I have some Python code that I am executing from a C# solution. Everything is working well except for this one thing, which makes no sense to me given that Python is supposed to be synchronous by ...
ysi_d's user avatar
  • 71
0 votes
0 answers
37 views

Sending requests synchronously within ngrx effect in angular

I have the following effect: public sendData$ = createEffect(() => this.actions$.pipe( ofType(actions.sendData), concatLatestFrom(() => [ this.store.select(selectBike), this.store....
Marek's user avatar
  • 4,089
0 votes
1 answer
163 views

Ensuring Synchronous Initialization of Swift Manager Class with Data from API

I'm developing a Swift class as a Manager that needs to fetch initial data from an API during initialization. I want to ensure that the class is fully initialized only after the data has been fetched ...
cole's user avatar
  • 155
2 votes
1 answer
178 views

If multiple Python processes write data into InfluxDB, only parts are written

I have multiple Python processes, running on a server (RPI5) by cron, which read data from web API's, and write it then into a common InfluxDB database - on the same bucket. However, some of the data ...
lambruscoAcido's user avatar
0 votes
1 answer
52 views

How does setTimeout in a focusIn handler resolve before the click handler runs?

I expect DOM event handling to be synchronous, regardless of the internal sequence of events in a browser. For reasons I don't understand the click handler is massively delayed (varying between 30-...
connexo's user avatar
  • 57.2k

15 30 50 per page
1
2 3 4 5
111