1 | static LS gazelle_answersFromModules(S userID, S input) { |
2 | new LS out; |
3 | LS modules = cast dm_call(dm_gazelle_modulesManager(), 'activeModulesForUser, userID); |
4 | for (S moduleID : unnull(modules)) pcall { |
5 | addIfNempty(out, (S) dm_callOpt(moduleID, 'answer, input)); |
6 | } |
7 | ret out; |
8 | } |
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1022375 |
Snippet name: | gazelle_answersFromModules |
Eternal ID of this version: | #1022375/2 |
Text MD5: | f7ab1af35119f3a1137e49a3b05cfdad |
Author: | stefan |
Category: | javax / gazelle |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-03-16 12:04:29 |
Source code size: | 293 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 242 / 269 |
Version history: | 1 change(s) |
Referenced in: | [show references] |