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

3
LINES

< > BotCompany Repo | #1023013 // dm_watchField - onChange is called in module queue

JavaX fragment (include)

svoid mapMethodLike dm_watchField(S field, Runnable onChange) {
  new Dyn_FieldWatcher(dm_current_mandatory(), field, onChange);
}

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: #1023013
Snippet name: dm_watchField - onChange is called in module queue
Eternal ID of this version: #1023013/3
Text MD5: a7be6781926a565b66645afb398f4566
Author: stefan
Category: javax / stefan's os
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-05-05 18:53:27
Source code size: 132 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 453 / 468
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1024642 - dm_watchFields - onChange is called in module queue
#1024997 - dm_watchFieldAndNow - onChange is called in module queue
#1027788 - dm_watchCollectionField - can watch a mutable collection
#1029988 - dm_copyFieldToObject - also when changed