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)

static ReliableSingleThread dm_rstWithDelay(int delay, Runnable r) {
  ret dm_rst(dm_current_mandatory(), rstWithPostDelay(delay, r));
}

static ReliableSingleThread dm_rstWithDelay(double delay, Runnable r) {
  ret dm_rst(dm_current_mandatory(), rstWithPostDelay(delay, r));
}

static ReliableSingleThread dm_rstWithDelay(DynModule m, int delay, Runnable r) {
  ret dm_rst(m, rstWithDelay(delay, r));
}

static ReliableSingleThread dm_rstWithDelay(DynModule m, double seconds, Runnable r) {
  ret dm_rst(m, rstWithDelay(seconds, r));
}

static ReliableSingleThread dm_rstWithDelay(DynModule m, Runnable r, double seconds) {
  ret dm_rstWithDelay(m, seconds, r);
}

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: 350 / 392
Version history: 6 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)