Create a reusable callback to keep context between async methods.