Class VirtualThreadTaskExecutor
java.lang.Object
dev.pfaff.altargui.async.VirtualThreadTaskExecutor
- All Implemented Interfaces:
TaskExecutor
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescription<V> Task
<V> submitFallible
(FallibleRunnable runnable) static VirtualThreadTaskExecutor
withScheduler
(Executor scheduler) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface dev.pfaff.altargui.async.TaskExecutor
execute, execute, executeFallible, submit
-
Field Details
-
WITH_DEFAULT_EXECUTOR
-
-
Method Details
-
withScheduler
-
submit
- Specified by:
submit
in interfaceTaskExecutor
-
submitFallible
- Specified by:
submitFallible
in interfaceTaskExecutor
-