StackOverflow Questions for Tag: structured-concurrency

liang li
liang li

Reputation: 121

How to customize the Shutdown policy of Java 21's Structured Concurrency API?

Score: 2

Views: 102

Answers: 1

Read More
Abhishek
Abhishek

Reputation: 433

Java 21 Structured Concurrency ShutdownOnSuccess and ShutdownOnFailure understanding

Score: 1

Views: 405

Answers: 3

Read More
David
David

Reputation: 413

Can a ScopedValue be applied to "the current" StructuredTaskScope without creating a new task?

Score: 3

Views: 400

Answers: 1

Read More
HellishHeat
HellishHeat

Reputation: 2491

What is Structured Concurrency?

Score: 0

Views: 220

Answers: 2

Read More
Sam
Sam

Reputation: 3485

How to force an Async Context Manager to Exit

Score: 3

Views: 1778

Answers: 3

Read More
vendettacore
vendettacore

Reputation: 1509

TaskGroup limit amount of memory usage for lots of tasks

Score: 2

Views: 1629

Answers: 3

Read More
Cristik
Cristik

Reputation: 32783

Prevent thread switches if no suspension happens in the call stack

Score: 2

Views: 123

Answers: 0

Read More
Roman
Roman

Reputation: 1498

Where should we use "Task {}": in ViewModel or ViewController?

Score: 5

Views: 2222

Answers: 1

Read More
user1743524
user1743524

Reputation: 725

Is there a way to co-ordinate coroutines using on Dispatchers with wait statements across codeblocks

Score: 0

Views: 46

Answers: 0

Read More
Bryan Yan
Bryan Yan

Reputation: 23

How to convert callback functions into Senders model?

Score: 1

Views: 153

Answers: 1

Read More
Isaaс Weisberg
Isaaс Weisberg

Reputation: 2824

How to resume a continuation ensuring that the result is delivered on the MainActor?

Score: 4

Views: 2162

Answers: 2

Read More
Gonen I
Gonen I

Reputation: 6117

How can I know if a Java 19 Structured Concurrency StructuredTaskScope is shutdown ( canceled )?

Score: 5

Views: 653

Answers: 2

Read More
ismailbenhallam
ismailbenhallam

Reputation: 110

CoroutineScope vs coroutineScope vs CoroutineScope extension function

Score: 1

Views: 2461

Answers: 1

Read More
ismailbenhallam
ismailbenhallam

Reputation: 110

Using coroutineScope function vs passing CoroutineScope as argument

Score: 0

Views: 728

Answers: 2

Read More
Raimundas Sakalauskas
Raimundas Sakalauskas

Reputation: 2294

How to properly cancel Swift async/await function

Score: 21

Views: 14592

Answers: 3

Read More
WillyC
WillyC

Reputation: 4705

How can I indicate I want the synchronous version of a function when in an async context in Swift?

Score: 4

Views: 175

Answers: 1

Read More
varunkr
varunkr

Reputation: 5542

Kotlin: Difference between calling CoroutineScope.launch vs launch inside a coroutine

Score: 5

Views: 659

Answers: 1

Read More
Martin
Martin

Reputation: 1143

Is there a way to get rid of a new concurrency warning on a @Published variable

Score: 3

Views: 1673

Answers: 1

Read More
HellishHeat
HellishHeat

Reputation: 2491

In Loom, can I use virtual threads for Recursive[Action/Task]?

Score: 5

Views: 921

Answers: 1

Read More
macnixde
macnixde

Reputation: 241

How to pass the CoroutineScope to composed objects in Kotlin (Structured Concurrency)

Score: 1

Views: 341

Answers: 0

Read More
PreviousPage 2Next