{"ast_node_type":"function","tokens":[{"end":54,"kind":"keyword","start":0,"text":"pub"}]}
    pub fn new(thread_limit: NonZero<usize>) -> Self {
    /// Creates a registry which can hold up to `thread_limit` threads.
        Registry(Arc::new(RegistryData { thread_limit, threads: Mutex::new(0) }))