Caching flycheck callback for asynchronous use.