signals icon indicating copy to clipboard operation
signals copied to clipboard

Evaluate Symbol.toStringTag for signal detection

Open marvinhagemeister opened this issue 3 years ago • 1 comments

More of a research task to see if there are other options than duck trying to detect signals, when you don't have a reference to the original class. This use case happens with DevTools.

marvinhagemeister avatar Sep 10 '22 22:09 marvinhagemeister

Another idea: Signal.prototype.isSignal = Symbol.for('Signal')

developit avatar Sep 26 '22 21:09 developit