Sorry to hear about your friend's husband. You're doing the best thing for her by just being available for her.
My brother-in-law had esophageal cancer almost six years ago. At that time drs. were able to do a resection and chemo. He went into remission but they told him that if it returned, there wasn't much they would be able to do for him. Two years later, he developed bladder cancer. The drs. did surgery and bio-chemo and Chris went into remission. Last Jan., he was having shoulder and back pain. Drs. did scans and biopsies and found that the esophageal cancer had returned. Surgery was not an option because it was wrapped around the aorta and also it had spread to his liver and lungs. The best they would give him is a year. He's been doing chemo and is on morphine but still at home without aides other than his wife and son. When DH saw him in Oct., he said he didn't think Chris would make it to the end of the year but he's still around. We're going to see them this weekend. DH says that what's keeping Chris around is stubborness. He doesn't want to die during the holidays because Shelly's (his wife) dad died around Christmas two years ago. He also wants to hang on until April because that's when his son is getting married, so yeah, attitude does have a lot to do with it.
Praying for your friend and you.
I took life by the horns and got gored.