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

19
LINES

< > BotCompany Repo | #1021241 // dm_rstWithDelay - ReliableSingleThread with a delay

JavaX fragment (include)

1  
static ReliableSingleThread dm_rstWithDelay(int delay, Runnable r) {
2  
  ret dm_rst(dm_current_mandatory(), rstWithPostDelay(delay, r));
3  
}
4  
5  
static ReliableSingleThread dm_rstWithDelay(double delay, Runnable r) {
6  
  ret dm_rst(dm_current_mandatory(), rstWithPostDelay(delay, r));
7  
}
8  
9  
static ReliableSingleThread dm_rstWithDelay(DynModule m, int delay, Runnable r) {
10  
  ret dm_rst(m, rstWithDelay(delay, r));
11  
}
12  
13  
static ReliableSingleThread dm_rstWithDelay(DynModule m, double seconds, Runnable r) {
14  
  ret dm_rst(m, rstWithDelay(seconds, r));
15  
}
16  
17  
static ReliableSingleThread dm_rstWithDelay(DynModule m, Runnable r, double seconds) {
18  
  ret dm_rstWithDelay(m, seconds, r);
19  
}

Author comment

Began life as a copy of #1019082

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1021241
Snippet name: dm_rstWithDelay - ReliableSingleThread with a delay
Eternal ID of this version: #1021241/7
Text MD5: 076269894e79ea451cb9df31002e9e65
Author: stefan
Category: javax / threading
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-02-21 01:20:13
Source code size: 682 bytes / 19 lines
Pitched / IR pitched: No / No
Views / Downloads: 349 / 391
Version history: 6 change(s)
Referenced in: [show references]