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
I'm running into an issue trying to use comrak::parse_document in an async function due to the use of RefCell in the AstNode type. I was wondering if anyone had run into this before and if there were any workarounds for using parse_document in an async (Send) context?
Thanks for creating a fantastic crate!
The text was updated successfully, but these errors were encountered:
Hi! Sorry for not getting back to you (much) sooner. I haven't attempted this myself, and I'm assuming no-one else has — or at least, no-one else has succeeded.
If there's a concrete example you can share, that would help! I don't do much with async these days and so I'm not sure exactly what you're running into.
Hi there,
I'm running into an issue trying to use
comrak::parse_document
in an async function due to the use of RefCell in the AstNode type. I was wondering if anyone had run into this before and if there were any workarounds for usingparse_document
in an async (Send
) context?Thanks for creating a fantastic crate!
The text was updated successfully, but these errors were encountered: