Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

12
LINES

< > BotCompany Repo | #1014009 // backtickInNewThread

JavaX fragment (include)

static Var<OKOrError<S>> backtickInNewThread(fS cmd) {
  final new Var<OKOrError<S>> var;
  startThread("`" + cmd, r {
    try {
      var.set(OKOrError_ok(backtick(cmd)));
    } catch e {
      printStackTrace(e);
      var.set(OKOrError_error(e));
    }
  });
  ret var;
}

Author comment

Began life as a copy of #1001477

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1014009
Snippet name: backtickInNewThread
Eternal ID of this version: #1014009/4
Text MD5: 4fd88158b81e5db76937da656d7c6d3a
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-03-20 18:45:40
Source code size: 285 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 405 / 404
Version history: 3 change(s)
Referenced in: [show references]