[squeak-dev] The Trunk: Kernel-pre.1206.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Dec 17 16:46:01 UTC 2018

Patrick Rein uploaded a new version of Kernel to project The Trunk:

==================== 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!

More information about the Squeak-dev mailing list