Questions tagged [synchronous]
Synchronous means that the caller of a function waits for the response or completion of the function before returning control to the main program
synchronous
1,659
questions
0
votes
1
answer
46
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 ...
1
vote
0
answers
19
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 ...
-1
votes
0
answers
22
views
Is NATS good for synchronous user requests? [closed]
I'm currently reconsidering my solution architecture and would love to get feedback from the community. Here’s a brief overview of my setup:
Blazor WASM frontend
SignalR communication to a BFF (...
0
votes
1
answer
29
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-...
1
vote
1
answer
40
views
How to use an object in another object through subscribe angular?
I am trying to create two objects here: a user and a manager. I have the user object which has an id, and a manager which has his own unique id idManager, and an id which is from the user, OneToOne ...
0
votes
0
answers
18
views
HttpClient extension method not returning the reult
I wrote this extension method for HttpClient to be synchronous and used in Blazor WebAssembly:
public static class HttpClientExtensions
{
public static TR PostAsJsonAsync2<T, TR>(this ...
0
votes
2
answers
180
views
setTimeout method confusing scope of "this" keyword in Angular 17 app
I'm trying to achieve an animation that functions pretty much the same as a stopwatch. In my component I have a function which looks like this
private count():void{
const currentYear : number = ...
0
votes
1
answer
53
views
Using scrollEnd event to stop bouncing with scrollIntoView when making panels scroll synchronously
I am making a rather complex website that has as a key factor texts in different panels that I want to make scroll together (synchronously). That is: when the user scrolls down a few lines in one ...
0
votes
1
answer
55
views
Unhandled Exception: [core/no-app] No Firebase App '[DEFAULT]' has been created - call Firebase.initializeApp()
I initialized Firebase inside main, and I need to access user data inside workmanager to provide the user with personalized notification, but workmanager for some reason works synchronously at the ...
0
votes
1
answer
29
views
go gin close channel cause panic
I am using golang gin with mqtt3.1, build a device management app.
While I am using mqtt3.1 and need to build a synchronous mechanism, so I utilized go channel.
Here's my summary fake code:
var ...
0
votes
0
answers
26
views
ReadFile from pipe is limited to 4096 bytes
I'm trying to execute a command which is a shell command that returns output to a buffer. it works properly but is limited to 4096 bytes. i am aware that is a limitation with ReadFile but I am doing ...
0
votes
0
answers
16
views
Is aws emr-containers create-virtual-cluster command asynchronous or synchronous?
I need to know whether the aws emr-containers create-virtual-cluster cli is synchronous or asynchronous. That is when the user receives the response after issuing this aws cli command is the virtual ...
0
votes
0
answers
23
views
Grails Method is executing asynchronously even when i have not applied any code for asynchronous execution
I am performing bulk download operation in a Groovy-Grail application, from a button where a call from java script ajax goes in controller. In controller method, it creates a zip file in /tmp ...
-2
votes
1
answer
39
views
How to handle a multi thread tests calling a single thread web service in .Net Framework 4.6?
The authentication PIN generation web service must send a notification or push to the requester for each generated PIN.
However, when a multithreaded call to this web service occurs, the service fails ...
0
votes
0
answers
178
views
Using msiexec on unattend.xml as SynchronousCommand but it run as asynchronous
I try to automatise my Windows configuration with unattend.xml file and during FirstLogonCommands, I only have SynchronousCommand block,
On theses blocks, i ran differents PowerShell scripts and ...