1 | sS sendOptWithTimeout(double timeoutSeconds, fS bot, fS text, fO... args) { |
2 | ret sendOptWithTimeout(toMS_int(timeoutSeconds), bot, text, args); |
3 | } |
4 | |
5 | sS sendOptWithTimeout(int timeout, fS bot, fS text, fO... args) { |
6 | ret evalWithTimeoutOrNull(timeout, func -> S { |
7 | sendOpt(bot, text, args) |
8 | }); |
9 | } |
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: | 311 / 356 |
Version history: | 3 change(s) |
Referenced in: | [show references] |