pub trait JsFunLike<Args: JsFunArgable, R: FromTs>: Fn(&Args) -> Result<R, String> + 'static + Send + Sync { // Required method fn bx_clone(&self) -> Box<dyn JsFunLike<Args, R>>; }