Libraryless. Click here for Pure Java version (2122L/14K).
1 | svoid withCancelPoint(VF1<CancelPoint> r) { |
2 | temp CancelPoint cp = newCancelPoint(); |
3 | try { |
4 | callF(r, cp); |
5 | } catch e { |
6 | e = innerException(e); |
7 | if (!(e instanceof CancelToCancelPoint && e/CancelToCancelPoint.cp == cp)) |
8 | rethrow(e); |
9 | } |
10 | } |
11 | |
12 | svoid withCancelPoint(IVF1<CancelPoint> r) { |
13 | temp CancelPoint cp = newCancelPoint(); |
14 | try { |
15 | r.get(cp); |
16 | } catch e { |
17 | e = innerException(e); |
18 | if (!(e instanceof CancelToCancelPoint && e/CancelToCancelPoint.cp == cp)) |
19 | rethrow(e); |
20 | } |
21 | } |
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: | #1018342 |
Snippet name: | withCancelPoint |
Eternal ID of this version: | #1018342/3 |
Text MD5: | d8fe10b358ad70752bf5f2a7234fe9d9 |
Transpilation MD5: | 06026230231fdbf27c2efbaf530bb876 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-09-15 01:42:01 |
Source code size: | 530 bytes / 21 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 376 / 507 |
Version history: | 2 change(s) |
Referenced in: | [show references] |