This ensures the process payments method in the payment manager that handles sending payment messages respects a provided context so it does not potentially leak a goroutine if the context context controlling the payment manager is canceled prior to receiving the message.
This ensures the process payments method in the payment manager that handles sending payment messages respects a provided context so it does not potentially leak a goroutine if the context context controlling the payment manager is canceled prior to receiving the message.