Skip to content

Commit

Permalink
Add back the buttons for controlling a non-blocking execution [feenkc…
Browse files Browse the repository at this point in the history
  • Loading branch information
chisandrei committed Aug 29, 2024
1 parent be990a6 commit fd5188c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ GtGemStoneAsyncEvaluationElement >> createTitleNotifier [

{ #category : #'gt - actions' }
GtGemStoneAsyncEvaluationElement >> gtActionCancelExecutionFor: anAction [
"<gtExecutionAction>"
<gtExecutionAction>

promiseResolution canStopExecution ifFalse: [ ^ anAction empty ].

Expand All @@ -200,7 +200,7 @@ GtGemStoneAsyncEvaluationElement >> gtActionCancelExecutionFor: anAction [

{ #category : #'gt - actions' }
GtGemStoneAsyncEvaluationElement >> gtActionDebugExecutionFor: anAction [
"<gtExecutionAction>"
<gtExecutionAction>

promiseResolution canStopExecution ifFalse: [ ^ anAction empty ].

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ GtGemStoneAsyncPromiseResolution >> endTimestamp [
GtGemStoneAsyncPromiseResolution >> ensureExecuting [
self hasProcess ifTrue: [ ^ self ].

state := #Running.
startTimestamp := DateAndTime now.
resolutionProcess := [
state := #Running.
startTimestamp := DateAndTime now.
[
| computedResult |

Expand Down

0 comments on commit fd5188c

Please sign in to comment.