A generalized asynchronous function to execute a critical process to convert a resource into cacheable artifacts.