MCPcopy Create free account
hub / github.com/itinance/react-native-fs / run

Method run

android/src/main/java/com/rnfs/Downloader.java:28–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26
27 new Thread(new Runnable() {
28 public void run() {
29 try {
30 download(mParam, res);
31 mParam.onTaskCompleted.onTaskCompleted(res);
32 } catch (Exception ex) {
33 res.exception = ex;
34 mParam.onTaskCompleted.onTaskCompleted(res);
35 }
36 }
37 }).start();
38
39 return res;

Callers

nothing calls this directly

Calls 2

downloadMethod · 0.95
onTaskCompletedMethod · 0.65

Tested by

no test coverage detected