Scala, Concurrency, API, Project Loom, Java.
code of Ox is available on GitHub. The Ox class and the methods in the Ox companion object implement the thin layer on top of Java's structured concurrency tools to provide the functionality described above. There’s also a small test suite, covering (in a rather non-comprehensive way) the basic use