Fraying is like the beginning stage of damage to some of those tendons, which often lead to tears with further lifting or straining of those tendons. Hopefully you're not lifting between now and surgery time in that case.
For me, personally, I was able to lift until my surgery (just reduced the load) without further damaging the labrum. I had some other damage as well, just not the rotator cuff. Be warned, don't mess w the rotator cuff.
With a great surgeon, you'll be back in lifting in time. Just don't over-do it and don't rush the healing process. Your pain level will guide your recovery and range of motion. Pain should not be bad at all really (unless you tear the rotator).
The last thing you want to do is re-injure it in the healing process.
I was back at the gym after one week working on leg machines, body weight squats, and other leg exercises (and doing treadmill or walking outside). But, you won't want to use that arm at all (to allow healing) for a time range (prescribed by dr. orders).