-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #37 from mumez/develop
Develop: TrRequest>>asTaskFor: will raise an exception on failure
- Loading branch information
Showing
4 changed files
with
7 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 3 additions & 2 deletions
5
repository/Tarantalk-TaskIt.package/TrRequest.extension/instance/asTaskFor..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
*Tarantalk-TaskIt | ||
asTaskFor: waitTimeoutSeconds | ||
^ TKTTask valuable: [ | proxy val | | ||
^ TKTTask valuable: [ | proxy | | ||
proxy := self proxyFor: waitTimeoutSeconds. | ||
(val := proxy value) isError ifTrue: [ val signal ]. | ||
proxy value. | ||
proxy isError ifTrue: [ proxy signal ]. | ||
proxy | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
(name 'Tarantalk-TaskIt-MasashiUmezawa.10' message 'TrRequest>>asTaskFor: will raise an exception on failure' id '08c0aa8a-b157-0d00-8e79-d0dc09b86837' date '4 January 2020' time '9:45:44.512643 pm' author 'MasashiUmezawa' ancestors ((name 'Tarantalk-TaskIt-MasashiUmezawa.9' message 'Added asTaskFor: for setting waitTimeout explicitly' id '951dac1e-4e57-0d00-b9b0-937401a377fc' date '30 December 2019' time '11:08:50.900517 pm' author 'MasashiUmezawa' ancestors ((name 'Tarantalk-TaskIt-MasashiUmezawa.8' message 'Changed asTask to senf #value before returning proxy' id '723e0046-ad56-0d00-9372-85ec0804dfda' date '22 December 2019' time '11:15:00.990745 pm' author 'MasashiUmezawa' ancestors ((name 'Tarantalk-TaskIt-MasashiUmezawa.7' message 'Added TrSpace>>futureAt: series' id 'a130fd82-6c56-0d00-91f5-ddea0fdc8cc3' date '19 December 2019' time '5:59:11.32652 pm' author 'MasashiUmezawa' ancestors ((name 'Tarantalk-TaskIt-MasashiUmezawa.6' message 'Fixed TrRequest>>asTask to use proxy' id 'fb549a46-4956-0d00-84fd-2bc7085f201d' date '17 December 2019' time '11:56:54.35951 pm' author 'MasashiUmezawa' ancestors ((name 'Tarantalk-TaskIt-MasashiUmezawa.5' message 'Added TrRequest>>future: and schedule:' id 'edc5865b-1f56-0d00-8ce2-af3d075f0498' date '15 December 2019' time '9:56:16.772725 pm' author 'MasashiUmezawa' ancestors ((name 'Tarantalk-TaskIt-MasashiUmezawa.4' message 'Updated TrSettings>>taskRunnerType comment' id '90a15a29-1f56-0d00-8ce1-6365075f0498' date '15 December 2019' time '9:42:15.019012 pm' author 'MasashiUmezawa' ancestors ((name 'Tarantalk-TaskIt-MasashiUmezawa.3' message 'Adding TrTaskRunnerFactory' id 'ca5f32f0-1956-0d00-bf14-89260d4293df' date '15 December 2019' time '3:28:21.242974 pm' author 'MasashiUmezawa' ancestors ((name 'Tarantalk-TaskIt-MasashiUmezawa.2' message 'Experimentally added TrFutureValue' id 'db3ffc54-0d56-0d00-84f2-890803642893' date '15 December 2019' time '12:25:57.619821 am' author 'MasashiUmezawa' ancestors ((name 'Tarantalk-TaskIt-MasashiUmezawa.1' message 'Experimentally added TrFutureValue' id '768f394d-0d56-0d00-84f1-a8ab03642893' date '15 December 2019' time '12:23:47.420164 am' author 'MasashiUmezawa' ancestors () stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ()) | ||
(name 'Tarantalk-TaskIt-MasashiUmezawa.11' message 'TrRequest>>asTaskFor: will raise an exception on failure' id '08d77dd4-b157-0d00-9f9b-de0505656bb8' date '4 January 2020' time '10:06:23.083484 pm' author 'MasashiUmezawa' ancestors ((name 'Tarantalk-TaskIt-MasashiUmezawa.10' message 'TrRequest>>asTaskFor: will raise an exception on failure' id '08c0aa8a-b157-0d00-8e79-d0dc09b86837' date '4 January 2020' time '9:45:44.512643 pm' author 'MasashiUmezawa' ancestors ((name 'Tarantalk-TaskIt-MasashiUmezawa.9' message 'Added asTaskFor: for setting waitTimeout explicitly' id '951dac1e-4e57-0d00-b9b0-937401a377fc' date '30 December 2019' time '11:08:50.900517 pm' author 'MasashiUmezawa' ancestors ((name 'Tarantalk-TaskIt-MasashiUmezawa.8' message 'Changed asTask to senf #value before returning proxy' id '723e0046-ad56-0d00-9372-85ec0804dfda' date '22 December 2019' time '11:15:00.990745 pm' author 'MasashiUmezawa' ancestors ((name 'Tarantalk-TaskIt-MasashiUmezawa.7' message 'Added TrSpace>>futureAt: series' id 'a130fd82-6c56-0d00-91f5-ddea0fdc8cc3' date '19 December 2019' time '5:59:11.32652 pm' author 'MasashiUmezawa' ancestors ((name 'Tarantalk-TaskIt-MasashiUmezawa.6' message 'Fixed TrRequest>>asTask to use proxy' id 'fb549a46-4956-0d00-84fd-2bc7085f201d' date '17 December 2019' time '11:56:54.35951 pm' author 'MasashiUmezawa' ancestors ((name 'Tarantalk-TaskIt-MasashiUmezawa.5' message 'Added TrRequest>>future: and schedule:' id 'edc5865b-1f56-0d00-8ce2-af3d075f0498' date '15 December 2019' time '9:56:16.772725 pm' author 'MasashiUmezawa' ancestors ((name 'Tarantalk-TaskIt-MasashiUmezawa.4' message 'Updated TrSettings>>taskRunnerType comment' id '90a15a29-1f56-0d00-8ce1-6365075f0498' date '15 December 2019' time '9:42:15.019012 pm' author 'MasashiUmezawa' ancestors ((name 'Tarantalk-TaskIt-MasashiUmezawa.3' message 'Adding TrTaskRunnerFactory' id 'ca5f32f0-1956-0d00-bf14-89260d4293df' date '15 December 2019' time '3:28:21.242974 pm' author 'MasashiUmezawa' ancestors ((name 'Tarantalk-TaskIt-MasashiUmezawa.2' message 'Experimentally added TrFutureValue' id 'db3ffc54-0d56-0d00-84f2-890803642893' date '15 December 2019' time '12:25:57.619821 am' author 'MasashiUmezawa' ancestors ((name 'Tarantalk-TaskIt-MasashiUmezawa.1' message 'Experimentally added TrFutureValue' id '768f394d-0d56-0d00-84f1-a8ab03642893' date '15 December 2019' time '12:23:47.420164 am' author 'MasashiUmezawa' ancestors () stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ()) |