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

4
LINES

< > BotCompany Repo | #1005953 // ensureBotIsNotAlreadyRunning

JavaX fragment (include)

static void ensureBotIsNotAlreadyRunning(S name) {
  if (hasBot(name))
    fail("Bot already running [" + name + "]");
}

Author comment

Began life as a copy of #1005746

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1005953
Snippet name: ensureBotIsNotAlreadyRunning
Eternal ID of this version: #1005953/1
Text MD5: 4fa87c15eb0e30813c384ad0a553283b
Author: stefan
Category: javax / bots
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-12-13 13:24:48
Source code size: 123 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 599 / 622
Referenced in: [show references]