зеркало из
				https://github.com/iharh/notes.git
				synced 2025-10-31 05:36:08 +02:00 
			
		
		
		
	
		
			
				
	
	
		
			27 строки
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			27 строки
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/util/concurrent/StructuredTaskScope.html
 | |
| ? ScopedValue API
 | |
| 
 | |
| baeldung
 | |
|     https://www.baeldung.com/java-structured-concurrency
 | |
|         try (var scope = new StructuredTaskScope.ShutdownOnFailure()) {
 | |
|             Future<Shelter> shelter = scope.fork(this::getShelter);
 | |
|             Future<List<Dog>> dogs = scope.fork(this::getDogs);
 | |
|             scope.join();
 | |
|             Response response = new Response(shelter.resultNow(), dogs.resultNow());
 | |
|             // ...
 | |
|         }
 | |
| 2025
 | |
| https://foojay.io/today/javas-structured-concurrency-finally-finding-its-footing/
 | |
|     https://habr.com/ru/companies/spring_aio/articles/930812/
 | |
| 2024
 | |
| Schmidt - Walkthrough of the Java StructuredTaskScope Code of 11:37
 | |
|     https://www.youtube.com/watch?v=WfyKt9dkgmM
 | |
|     http://www.dre.vanderbilt.edu/~schmidt/cs891/2024-PDFs/14.2.5-StructuredTaskScope.pdf
 | |
|     + VirtualThreads
 | |
| https://www.happycoders.eu/java/scoped-values/
 | |
|     ScopedValues
 | |
| https://www.happycoders.eu/java/structured-concurrency-structuredtaskscope/
 | |
|     std/custom policies
 | |
| ?
 | |
|     https://www.youtube.com/watch?v=wWAnjsBgDA4
 | 
