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

5
LINES

< > BotCompany Repo | #1033029 // evalWithTimeout_text_showStackTrace

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (5463L/31K).

static <A> S evalWithTimeout_text_showStackTrace(double timeoutSeconds, IF0<A> f) {
  ret pcallOrStackTrace_strOrNull(func {
    evalWithTimeoutOrException(timeoutSeconds, func { strOrNull(callF(f)) })
  });
}

Author comment

Began life as a copy of #1018065

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1033029
Snippet name: evalWithTimeout_text_showStackTrace
Eternal ID of this version: #1033029/3
Text MD5: e77ef297a17b7f8f0888b3abb975ebf5
Transpilation MD5: 99f73dd6952bc2211a1c0a129781f7e0
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-11 12:57:24
Source code size: 213 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 191 / 264
Version history: 2 change(s)
Referenced in: [show references]