Thread Info
Identity of a platform thread. A plain final class (not a data class) so fields can be added later without a binary-incompatible copy/componentN change.
Example:
val thread = ThreadInfo(id = 42L, name = "DefaultDispatcher-worker-1")Content copied to clipboard
Requires opting in to ExperimentalStructuredCoroutines. Only populated on targets with threads (JVM and Android); see platformCapabilities.