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

10
LINES

< > BotCompany Repo | #1010744 // stefansChat_onLine_safe

JavaX fragment (include)

please include function postToStefansChat.

static double stefansChat_onLine_safe_delay = 1; // prohibits answering your own questions - TODO: improve

static void stefansChat_onLine_safe(fO f) {
  stefansChat_onLine(voidfunc(S text) {
    if (sysNow() > postToStefansChat_lastPost+toMS(stefansChat_onLine_safe_delay))
      callF(f, text);
  });
}

Author comment

Began life as a copy of #1009193

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1010744
Snippet name: stefansChat_onLine_safe
Eternal ID of this version: #1010744/4
Text MD5: 8cd8b2b70400dbdaa586e42c432f7dc8
Author: stefan
Category: javax / chat
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-10-04 17:43:47
Source code size: 357 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 376 / 409
Version history: 3 change(s)
Referenced in: [show references]