package index
Module _.Thread
Cooperative threads.
val async : (unit -> 'a) -> 'a tasync f creates a new thread of control which executes f () and returns the corresponding thread handle. The thread terminates whenever f () returns a value or raises an exception.
val return : 'a -> 'a treturn () is a pre-terminated thread handle.