Skip to content

Commit

Permalink
Refactoring GtJob progress notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
refactoringdr committed Sep 23, 2024
1 parent 0a1e4f8 commit 11e11b0
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -397,9 +397,11 @@ GtSmaCCTransformationToolkit >> runOn: aCollection [
[ self model runOn: aCollection ]
ensure: [ self userData removeKey: #transformationJob ifAbsent: [ ] ] ])
announcer: Announcer new.
notification := GtCompilationNotificationJob new.
notification job: job.
notification registerNotifications.
notification := GtNotificationJob new
summaryClass: GtCompilationNotificationSummary;
job: job;
registerNotifications;
yourself.
^ [ job run ] asAsyncPromise
]

Expand Down

0 comments on commit 11e11b0

Please sign in to comment.