sS sendOptWithTimeout(double timeoutSeconds, fS bot, fS text, fO... args) { ret sendOptWithTimeout(toMS_int(timeoutSeconds), bot, text, args); } sS sendOptWithTimeout(int timeout, fS bot, fS text, fO... args) { ret evalWithTimeoutOrNull(timeout, func -> S { sendOpt(bot, text, args) }); }
Began life as a copy of #1009571
download show line numbers debug dex old transpilations
Travelled to 9 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, whxojlpjdney
No comments. add comment
Snippet ID: | #1020211 |
Snippet name: | sendOptWithTimeout |
Eternal ID of this version: | #1020211/4 |
Text MD5: | 2758b67fe072a109d99ba4d6a5ae696f |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-12-10 16:04:34 |
Source code size: | 307 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 310 / 355 |
Version history: | 3 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |