2020欧洲杯时间表

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.

Filter by
Sorted by
Tagged with
0
votes
0answers
2 views

Asynchronous and classes, why does Python asyncio.create_task or asyncio.gather overwrite data?

I'm dealing with a problem but can not understand why it occurs. It occurs when I use asynchronous function multiple time, but doesn't happen when I use synchronous function. Here is the example : ...
0
votes
1answer
24 views

Async/await func in another async/await func in Node.js, MongoDB

I am trying to search available objects of a MongoDB collection(e.g. ParkingSpot) using specific business logic, the problem is that inside this function which is an async/await func I am looking ...
0
votes
1answer
15 views

Difference between async/await and async/fixture.whenStable in Angular

I want to know the difference between this two methods to deal with the asynchronous calls in Angular framework: The first with the jasmine approach async/await THe second with the Angular approach ...
1
vote
2answers
27 views

How are hardware interruptions handled in non-preemtive scheduling?

Let's say I have a process A that is currently running. Then I press Ctrl+C, how is this interruption handled? Does A finish executing first and then the interruption is handled? Does A get put in ...
0
votes
1answer
28 views

How to design and develop a financial transactions app in Spring Boot?

I try to make an app for a test and I need some help. The app is about financial transactions and could be 4 transactions type: iban to iban, iban to pocket, pocket to iban, pocket to pocket. And I ...
0
votes
1answer
10 views

HttpClient.PostAsync() request not reaching destination

I am modifying the purchasing process of an e-commerce site, which has the ability to make purchases for multiple users and multiple products with a single purchase. Large purchases can occasionally ...
0
votes
0answers
12 views

Proper way to consume and immediately publish RabbitMQ messages from queue-to-queue?

What is the proper method of consuming a message, processing it, and then publishing it? I run into a lot of unacknowledged messages and I believe there is some blocking going on. Trying to understand ...
0
votes
1answer
14 views

Get text from “.txt” file and save it in String variable dart

I have a ".txt" file called "bio.txt" inside the Document folder of my application. I want to read its content and store it inside a String variable. My problem is that the "reading action" is a "...
1
vote
1answer
19 views

axio. to get the data in a different file

I hope you can help me. I'm trying to get a response from an API and use that information in another file. I have 3 files: api.jsx import axios from 'axios'; export const api = (url, data) => { ...
0
votes
0answers
24 views

Loading large KML layers without blocking UI

I'm loading large KML layers using the google maps API and geoxml3, via parseKMLString. Relevant question and Example using this function. While these files are being rendered to the map, the UI is ...
0
votes
0answers
12 views

Passing second parameter in a callback function Javascript [duplicate]

Following is the code, which is working fine - const print = x => { console.log(x) } const result = [1,2,3,4].forEach(print) console.log(result) But when I am trying to pass another variable ...
0
votes
0answers
9 views

Flutter - Provier exercice - 'String is not a subtipe of 'MyClass'

everyone! I'm trying to figure how to use Flutter's Provider and struggling with type issues. In this exercice I created a first screen that show my ToDo List's subscreen. ToDo List's subscreen have a ...
0
votes
0answers
32 views

Export value from asynchronous function in js.node

I have a list that is declared outside of the function and is added to inside the fileActions function. After my code is done running I would like to export the list in modules.exports. If I output ...
0
votes
0answers
17 views

fp-ts call async function inside mapLeft

I am new in fp-ts so please help me resolve my problem: I need to log the same error multiple times on different levels using asynchronous function. Here is my example code: const myProgram = pipe( ...
0
votes
2answers
32 views

Angular function relies on result of async function

Setup: I have a function, isAuthorized(), in a singleton, AuthSessionSingleton which relies on the result of an async function. The async function is an api call, called in the constructor, which ...

15 30 50 per page
1
2 3 4 5
2698