fn detach(self: Thread) void
Release the obligation of the caller to call join() and have the thread clean up its own resources on completion. Once called, this consumes the Thread object and invoking any other functions on it is considered undefined behavior.
join()
self: Thread,