Module java.base
Package java.util.concurrent

# Interface StructuredTaskScope.Subtask

=
public abstract static sealed interface Subtask<T>
extends java.util.function.Supplier<T>
permits java.util.concurrent.StructuredTaskScope.SubtaskImpl<T>

## Nested Types

- = State

## Methods

- =
  public abstract java.lang.Throwable exception()
- =
  public abstract T get()
- =
  public abstract java.util.concurrent.StructuredTaskScope.Subtask.State state()
- =
  public abstract java.util.concurrent.Callable<? extends T> task()

## Summary

No differences.