The Trunk: Kernel-pre.1206.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Kernel-pre.1206.mcz

commits-2
Patrick Rein uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-pre.1206.mcz

==================== Summary ====================

Name: Kernel-pre.1206
Author: pre
Time: 17 December 2018, 5:45:54.821471 pm
UUID: f3ada3b6-9403-49d0-accc-48b9bdc364f5
Ancestors: Kernel-eem.1205

Adds the resolve and reject utility methods to Promise for use cases in which Promises are used as a synchronization means between computations whose side effects we are interested in. (reject was added as another utility method to keep the protocol symmetric to the resolveWith: rejectWith: protocol).

=============== Diff against Kernel-eem.1205 ===============

Item was added:
+ ----- Method: Promise>>reject (in category 'resolving') -----
+ reject
+
+ self rejectWith: nil!

Item was added:
+ ----- Method: Promise>>resolve (in category 'resolving') -----
+ resolve
+
+ self resolveWith: nil!