Skip to main content
Filter by
Sorted by
Tagged with
Best practices
0 votes
0 replies
52 views

For asyncio workloads there's this convenience function that executes passed list of asyncio.Tasks until either a timeout is hit; first Task raises an exception; or all tasks succeed First two ...
laur's user avatar
  • 607
0 votes
0 answers
25 views

I’m working on a Node.js backend where I process multiple webhook events and need to call an external API for each item my code: const processOrders = async (orders) => { orders.forEach(async (...
A.K.O's user avatar
  • 25
Best practices
0 votes
5 replies
105 views

I am currently working on a hobby winsock project and I thought I wanted it to be able to handle multiple concurrent connections/request at once and serving them individually. Through asynchronous ...
UnknownGravy's user avatar
1 vote
2 answers
96 views

I am making a zoo angular project practicing RXJS, where when the user searches or puts in a keystroke it first waits a couple milliseconds before searching so you dont do it on every key stroke. Then ...
CsharpEvan's user avatar
-1 votes
1 answer
73 views

with startTransition React can now decide some updates are not a high priority and can choose to ignore rendering an older update if its taking too long and continue with the latest one. eg. if we are ...
pranav fokmare's user avatar
1 vote
1 answer
89 views

When using async = TRUE in plumber2 with the default mirai evaluator, the worker processes do not inherit anything loaded or defined in the global environment of the main R session — this includes ...
crazydatacatlady's user avatar
0 votes
1 answer
80 views

We have a Spring Boot application deployed on AWS Lambda that makes outbound calls to OCPI partner APIs (EMSP roaming partners). We use @Async for these outbound calls to avoid blocking the main ...
Arjun Rishi's user avatar
Best practices
0 votes
2 replies
70 views

I can do it with Swift 5, but I do not know how to fix the compilation error with Swift 6. I browsed the net for weeks, made tests and tests, but no solution. Could you help please? I wrote a small ...
GT4485's user avatar
  • 65
Best practices
0 votes
5 replies
98 views

I have this function called BulkCopyIntoTable which filters a datatable and based off the max integer of the table im inserting into and inserts data that is greater than that integer. I use the ...
Leslie Castelan Chavez's user avatar
0 votes
1 answer
136 views

I have this interface to access files from various providers: interface IFileProvider { Task<bool> FileExistsAsync(string filePath); ... } Some of its implementations use network ...
Medinoc's user avatar
  • 6,745
0 votes
0 answers
118 views

I am trying to store a function for<'a> FnOnce(&'a Data) -> (impl Future + 'a), but unfortunately we cannot express this as impl Future is not allowed in this position. I tried to ...
msrd0's user avatar
  • 8,542
Best practices
0 votes
4 replies
86 views

public async Task<IEnumerable<Patient>> GetWaitingPatientsAsync() { return await _context.Patients.AsNoTracking().Where(x => x.Status == PatientStatus.Waiting).ToListAsync(); } I ...
Yahya Mammadli's user avatar
Advice
0 votes
1 replies
72 views

I’m working on a streaming pipeline where data is coming from a Kafka topic, and I want to integrate LLM-based processing and RAG ingestion. I’m running into architectural challenges around latency ...
Arpan's user avatar
  • 993
0 votes
0 answers
78 views

Here is my dilemma, I need to query ALL 4 nodes in Firebase Realtime DB in an Android Java app (I have this working fine in iOS): PlayerInGroup Users PlayerPicks Teams I start by getting the ...
Learn2Code's user avatar
  • 2,320
5 votes
1 answer
146 views

Using Python >=3.13.0 (tried 3.11.14, 3.12.10, 3.13.0, 3.13.8 and 3.14.0a5), when I try to run the terminal in async mode, it throws an IndentationError when I try to start an async with code block:...
Simon Pratt's user avatar

15 30 50 per page
1
2 3 4 5
3465