Libraryless. Click here for Pure Java version (5939L/40K/134K).
!7 // to prevent endless loop! static L<S> processing = synchroList(); p-tt { sendToAll("how are you"); bot(); } static S answer(S s) { if (processing.contains(s)) null; processing.add(s); try { L<S> l = sendToAll(s); ret "sent to " + n(l, "bots"); } finally { processing.remove(s); } }
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: | #1007057 |
Snippet name: | Test sendToAll |
Eternal ID of this version: | #1007057/5 |
Text MD5: | e8beffd95b04c0d46f1538b7611a635e |
Transpilation MD5: | 9ec47e49f88ce61f5082a19f1e239fcd |
Author: | stefan |
Category: | javax / bots |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-02-27 17:31:56 |
Source code size: | 334 bytes / 20 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 454 / 542 |
Version history: | 4 change(s) |
Referenced in: | -