Skip to main content
0 votes
0 answers
35 views

I'm starting an async-process through a REST request. As soon as the REST requests returns, I'm losing the MDC context inside my async execution code. I tried to "copy" it over with ...
Daniel's user avatar
  • 906
1 vote
0 answers
40 views

With Angular 21, I can't test (with vitest) a non-standalone component using the Async pipe. I get the following error: X [ERROR] NG8004: No pipe found with name 'async'. To fix this, import the "...
Scipion's user avatar
  • 12k
-3 votes
0 answers
76 views

I have this code: func drawCount() { Task { await _drawCount() } } func _drawCount() async { let k = await Task.detached(priority: .low) { return gfed.filter{$0.blah}....
Fattie's user avatar
  • 9,770
1 vote
0 answers
50 views

I want to load assets from a custom zip-like format, or even GoldSrc WAD3 files. My initial attempt was to use a custom AssetLoader, but I'm not feeling comfortable having to load the entire file's ...
Sigma Octantis's user avatar
0 votes
1 answer
82 views

Previously I had a question on an example of multiprocessing which you can see in the following link I used a 2 workers pool to split a sum in a function with Python multiprocessing but the timing ...
AmirHosein Sadeghimanesh's user avatar
0 votes
3 answers
83 views

import {Suspense} from "react" type Props = { params: Promise<{joblistingId: string }> } export default function JoblistingPage(props: Props) { return ( <...
Ujjawal Bindal's user avatar
3 votes
0 answers
92 views

Can I modify host data in host_data_ptr after the following ? cudaMemcpyAsync(device_data_ptr, host_data_ptr, size, cudaMemcpyHostToDevice, ...
YSF's user avatar
  • 41
Best practices
0 votes
6 replies
131 views

I understand that ConfigureAwait(false) prevents capturing the current synchronization context, allowing the continuation to run on any available thread. However, I’m not clear about if there is any ...
Vasantha Kumar's user avatar
-3 votes
0 answers
56 views

I'm implementing Telemetry in my Spring Boot web app using OpenTelemetry instrumentation. All is fine except when dealing with async events. When I produce/publish, for example 100 events - all ...
Aatif Rafiq's user avatar
0 votes
0 answers
41 views

I have this backend: from fastapi import FastAPI, HTTPException import uuid import asyncio import random import time from loguru import logger import redis from contextlib import asynccontextmanager #...
KansaiRobot's user avatar
  • 10.6k
Advice
0 votes
1 replies
53 views

we are using Flink's AsyncIO function with Futures to make external gRPC calls. Currently, we have set the async capacity to 1, and we are using a blocking stub to make those calls. For each event, we ...
Sidharth Ramalingam's user avatar
4 votes
4 answers
351 views

I have a WPF project, and in some of the async event handlers in the WMain.xaml.cs I am using the Task.Delay method to suspend the execution of the handler. Example: private async void Window_KeyDown(...
Theodor Zoulias's user avatar
Advice
1 vote
4 replies
84 views

I am taking advantage of StackOverflow's new "General advice" question type to present my use case and ask for technical guidance. I am a Data Scientist with several years experience in ...
Antoine101's user avatar
0 votes
1 answer
45 views

I have a Problem with asynchronous methods that run on a customTaskExecutors. In the run method I never reach the last log.info that the thread is finished running (where I would usualy put other ...
Shardic's user avatar
-2 votes
2 answers
123 views

I have an Activity that is responsible for creating a new entry in the database. In this activity, a button launches a coroutine to do all the database-related stuff, and when it's done, navigate to ...
Wladyslaw Skiba's user avatar

15 30 50 per page
1
2 3 4 5
3466