Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

9
LINES

< > BotCompany Repo | #1018359 // dm_fieldLiveValueWithNotify

JavaX fragment (include)

1  
static SimpleLiveValue dm_fieldLiveValueWithNotify(S fieldName, Runnable onChange) {
2  
  ret dm_fieldLiveValueWithNotify(dm_current_mandatory(), fieldName, onChange);
3  
}
4  
5  
static SimpleLiveValue dm_fieldLiveValueWithNotify(DynModule module, fS fieldName, Runnable onChange) {
6  
  SimpleLiveValue lv = dm_fieldLiveValue(module, fieldName);
7  
  lv.onChange(onChange);
8  
  ret lv;
9  
}

Author comment

Began life as a copy of #1015971

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1018359
Snippet name: dm_fieldLiveValueWithNotify
Eternal ID of this version: #1018359/2
Text MD5: 1516d4650fcfa3f3b0d9915562c48db5
Author: stefan
Category: javax / stefan's os
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-09-20 13:28:53
Source code size: 377 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 382 / 401
Version history: 1 change(s)
Referenced in: [show references]