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

11
LINES

< > BotCompany Repo | #1032879 // flagSleep - provide a flag and sleep until it is up

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

Libraryless. Click here for Pure Java version (4595L/26K).

svoid lambdaMapLike flagSleep(IVF1<Flag> r) {
  new Flag flag;
  r.get(flag);
  flag.waitUntilUp();
}

svoid lambdaMapLike flagSleep(IVF1<Flag> r, double timeout) {
  new Flag flag;
  r.get(flag);
  flag.waitUntilUp(timeout);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1032879
Snippet name: flagSleep - provide a flag and sleep until it is up
Eternal ID of this version: #1032879/2
Text MD5: 6d0d30a1dca91d1cd21a75d82475cf4a
Transpilation MD5: 6be16ab0f11a251e9fefee06c6c7cf92
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-11-02 02:04:14
Source code size: 237 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 116 / 172
Version history: 1 change(s)
Referenced in: [show references]