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

3
LINES

< > BotCompany Repo | #1022512 // doAfterSecondsIfStillRunning

JavaX fragment (include)

static AutoCloseable doAfterSecondsIfStillRunning(double seconds, Runnable r) {
  ret timerAsAutocloseable(doAfter(seconds, r));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1022512
Snippet name: doAfterSecondsIfStillRunning
Eternal ID of this version: #1022512/3
Text MD5: 26bc05f9b4aacba8be40e9120b756b05
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-03-19 16:58:27
Source code size: 132 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 197 / 239
Version history: 2 change(s)
Referenced in: [show references]