situ2001 / opensumi-core

🚀 A framework helps you quickly build Cloud or Desktop IDE products.
https://opensumi.com/zh
MIT License
0 stars 0 forks source link

[Enhancement] CollaborationService should handle execution order of async fn correctly #13

Closed situ2001 closed 2 years ago

situ2001 commented 2 years ago

With the power of Deferred,

https://github.com/situ2001/opensumi-core/blob/ac49c6592914cf6532bb84ba368ca77b030bf7c5/packages/utils/src/promises.ts#L5-L13

now collaboration service can be correctly handle the excution order of async function calls.