Exemple #1
0
 @Override
 public void run() {
   try {
     _result.succeed(_assets.getBytesSync(_path));
   } catch (Throwable t) {
     _result.fail(t);
   }
 }
Exemple #2
0
 @Override
 public void run() {
   try {
     _impl.succeed(_assets.load(_path));
   } catch (Exception e) {
     _impl.fail(e);
   }
 }