async fn blocking<T: Send + 'static>( f: impl FnOnce(&JobTemplates) -> Result<T, String> + Send + 'static, ) -> Result<T, String>
f on a blocking thread: every call reads and hashes template files.
f