I'd actually be careful about assuming too much about her current situation without recent updates. Cancer diagnoses and their trajectories are deeply personal, and what applies to one person doesn't necessarily apply to another. What we do know is that Judith has been open about her journey, which is pretty brave given how public her life is as a comedian. She's known for her sharp wit and ability to find humor in difficult situations, so it makes sense that she'd approach this with that same directness.
As for her career, comedians have historically found ways to work around health challenges in whatever way suits them at the time. Some take breaks, some use their experience as material, and some do a mix of both. The fact that she's been communicative about what's happening suggests she'll likely keep people in the loop about what she's able to do professionally. The entertainment world has become a bit more understanding about these things than it used to be, though I know that doesn't make it easier for her personally.
What matters most right now is probably just that she has good support around her and access to whatever treatment she needs. People who care about her work will be there whether she's performing next month or taking time off for a year - that's the kind of audience respect you earn by being genuine, which she definitely is.