بازگشت به نتایج جستجو

flutter / AGENT SKILL

flutter-handling-concurrency

فارسی + English

این اسکیل چه می‌کند؟

انتقال کار CPUسنگین به isolate پس‌زمینه با حفظ پاسخ‌گویی Flutter؛ async/await برای I/O، Isolate.run() برای محاسبهٔ یک‌باره و Isolate.spawn() با message passing برای worker ماندگار؛ ماتریس انتخاب async/isolate بر اساس نوع کار (I/O در برابر.

ORIGINAL DESCRIPTION

Offload CPU-intensive tasks to background isolates while keeping Flutter UIs responsive. Provides three concurrency patterns: async / await for I/O-bound work, Isolate.run() for one-off heavy computations, and Isolate.spawn() with message passing for persistent background workers Includes a decision matrix to choose between async operations and isolates based on task type (I/O vs.

چه زمانی به کار می‌آید؟

در دادهٔ اصلی، کاربرد جداگانه‌ای ثبت نشده است. توضیح بالا و صفحهٔ منبع را ببینید.