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

9
LINES

< > BotCompany Repo | #1025191 // defaultSleeper - one thread per sleep request

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (9691L/54K).

static ISleeper defaultSleeper() {
  ret new ISleeper {
    public Sleeping doLater(Timestamp targetTime, Runnable r) {
      ret new MultiSleeper().doLater(targetTime, r);
    }
    
    close {}
  };
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1025191
Snippet name: defaultSleeper - one thread per sleep request
Eternal ID of this version: #1025191/7
Text MD5: 79f4beda3c69681a7f13bdb90d283409
Transpilation MD5: 21c06e7f882d08480f91db24c1f7103b
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-11-28 21:17:19
Source code size: 211 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 267 / 386
Version history: 6 change(s)
Referenced in: [show references]