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

Method run

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

Source from the content-addressed store, hash-verified

34 res = new UploadResult();
35 new Thread(new Runnable() {
36 @Override
37 public void run() {
38 try {
39 upload(mParams, res);
40 mParams.onUploadComplete.onUploadComplete(res);
41 } catch (Exception e) {
42 res.exception = e;
43 mParams.onUploadComplete.onUploadComplete(res);
44 }
45 }
46 }).start();
47 return res;
48 }

Callers

nothing calls this directly

Calls 2

uploadMethod · 0.95
onUploadCompleteMethod · 0.65

Tested by

no test coverage detected