1 | scope onUserUtterance_addHandler. |
2 | |
3 | static TailFile #tailFile; |
4 | static L<VF1<S>> #handlers = synchroList(); |
5 | |
6 | // f : voidfunc(S) - gets only the utterance |
7 | static void onUserUtterance_addHandler(VF1<S> handler) { |
8 | lock #lock; |
9 | handlers.add(handler); |
10 | if (tailFile == null) tailFile = onUserUtterance(vf1_distribute(handlers)); |
11 | } |
12 | |
13 | end scope |
Began life as a copy of #1015151
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: | #1015647 |
Snippet name: | onUserUtterance_addHandler |
Eternal ID of this version: | #1015647/9 |
Text MD5: | f3f35935f00b8829397b9f674e409559 |
Author: | stefan |
Category: | javax / speech |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-05-20 15:43:00 |
Source code size: | 350 bytes / 13 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 378 / 424 |
Version history: | 8 change(s) |
Referenced in: | [show references] |