itinance/react-native-fs

React-native fs stops other async functions to execute until the file downloads

开放

#251 创建于 2017年2月9日

 (27 条评论) (1 个反应) (0 位负责人)C++ (1,012 个派生)batch import
discussionenhancementhelp wanted

仓库指标

星标
 (5,043 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

I am using react-native fs to download the file. The react-native fs uses promises, so until the promise is returned back it keeps other async functions in a queue to execute. For instance, If i start downloading a file then other async functions(such as getting data from local storage) gets blocked. The other async function starts executing only when the download is complete.

any help would be appreciated.

贡献者指南