Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用带有 Rust 库的新 Dart FFI,但是对库的调用会阻塞,但是我的颤振应用程序应该在调用执行时运行。 所以我需要将同步函数转换为异步函数。 我已经尝试过隔离,我认为这应该是一个可能的解决方案,但我无法实现我的目标。 有没有办法将此同步函数转换为异步函数?