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

8
LINES

< > BotCompany Repo | #1018745 // dm_registerService

JavaX fragment (include)

1  
svoid dm_registerService(fS name, fO service) {
2  
  fO creator = creator();
3  
  final DynModule mod = dm_current_mandatory();
4  
  call(creator, 'registerService, mod, name, service);
5  
  dm_ownResource(autoCloseable {
6  
    call(creator, 'unregisterService, mod, name, service);
7  
  });
8  
}

Author comment

Began life as a copy of #1016709

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: #1018745
Snippet name: dm_registerService
Eternal ID of this version: #1018745/4
Text MD5: a91cfa770e4b0bb6f80160fb36fdbcb6
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-10-12 16:05:19
Source code size: 283 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 349 / 405
Version history: 3 change(s)
Referenced in: [show references]