Class Async

java.lang.Object
megalodonte.base.async.Async

public class Async extends Object
Utility for running tasks on virtual threads. Uses a newVirtualThreadPerTaskExecutor — each submitted task gets its own virtual thread.

This is fire-and-forget: unhandled exceptions go to ErrorReporter, there is no result callback and no handle to cancel. For work that opens a resource needing symmetric teardown, use Scope instead.