pub fn spawn_thread(func: impl FnOnce() + Send + 'static)
Spawns a thread which runs in background. It has access to the current TurboTasks context, but is not accounted towards the current turbo-tasks function.