pub trait ThreadGlobalEnvCreator: Send {
// Provided method
fn new_env(&mut self) -> GlobalEnvRef { ... }
}Expand description
This trait handles creation of the GlobalEnv for new
threads. You can reuse the DefaultThreadCreator by
just providing it a custom ThreadGlobalEnvCreator implementation.
This suffices in most cases where you want to embed WLambda
and provide a custom API to new threads.