Inject async callback into a method.