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   

Travelled to 4 computer(s): cfunsshuasjs, mqqgnosmbjvj, tvejysmllsmz, 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: 88 / 109
Version history: 6 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1021241 & http://1021241.tinybrain.de