You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a reason that we can't implement TreeSink using Atomic Tendrils? I'm trying to use an HTML library built on top of html5ever in a future and it seems that I am unable to because of StrTendril being !Send. I tried swapping out the Tendril used by the tree builder to be Atomic but it seems that once I do that I can no longer implement TreeSink.
The text was updated successfully, but these errors were encountered:
A lot of functions and types used in TreeSink use non-atomic Tendrils, like NodeOrText or the function create_comment. However, I don't think parsing in a future is a good idea since parsing usually takes milliseconds.
Is there a reason that we can't implement
TreeSink
using AtomicTendril
s? I'm trying to use an HTML library built on top of html5ever in a future and it seems that I am unable to because ofStrTendril
being!Send
. I tried swapping out the Tendril used by the tree builder to beAtomic
but it seems that once I do that I can no longer implementTreeSink
.The text was updated successfully, but these errors were encountered: