简介
用 Future 和 Stream 处理异步工作,在 Dart Native 上还可以使用内存彼此独立的 isolate。
使用这门语言的成员
参与的讨论
Marking the filter async did nothing for the freeze
Search filters a list of around forty thousand rows, and the UI freezes for a moment on every query. I figured async was the…
Isolate.run took my whole Loader with it
Moved a big JSON decode off the main isolate with Isolate.run and got an error about an unsendable object instead of a speedu…
ECMA-262 never mentions an event loop
ECMA-262 never mentions an event loop. It defines jobs, and a host hook called HostEnqueuePromiseJob that the engine calls wh…