1 | static Collection subBot_getMyWebSockets() {
|
2 | Collection sockets = filterByField((Collection) get(mainBot(), 'webSockets), botID := formattedProgramID()); |
3 | WeakReference ref = new(mc()); |
4 | for (O ws : sockets) |
5 | setOpt(ws, bot := ref); |
6 | ret sockets; |
7 | } |
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: | #1014672 |
| Snippet name: | subBot_getMyWebSockets |
| Eternal ID of this version: | #1014672/4 |
| Text MD5: | df569ae2c712cf115c23e742ed7c87b9 |
| Author: | stefan |
| Category: | javax / web |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-04-29 22:31:21 |
| Source code size: | 262 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 668 / 672 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |