Libraryless. Click here for Pure Java version (5327L/29K).
abstract srecord noeq Sleeping(Timestamp targetTime, Runnable action) is AutoCloseable { long remainingMS() { ret targetTime.minus(tsNow()); } }
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1033560 |
| Snippet name: | Sleeping |
| Eternal ID of this version: | #1033560/3 |
| Text MD5: | 78f91995ab0b42534b3d993f57a19641 |
| Transpilation MD5: | 304516b30b41749e8c89aee3527fda15 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-11-03 17:21:30 |
| Source code size: | 148 bytes / 3 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 374 / 524 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |