Promise.st
changeset 5200 06e90979b15b
parent 5199 cf26e97c3bf7
child 5202 5e7ec026714d
--- a/Promise.st	Fri Sep 06 09:07:04 2019 +0200
+++ b/Promise.st	Fri Sep 06 09:08:34 2019 +0200
@@ -1,5 +1,3 @@
-"{ Encoding: utf8 }"
-
 "
  COPYRIGHT (c) 1993 by Claus Gittinger
 	      All Rights Reserved
@@ -106,18 +104,6 @@
     valueAvailable signal.
 
     "Modified: / 20-02-2017 / 10:28:23 / stefan"
-!
-
-waitForValue
-    "for JavaScript, so that it is different from a  value call
-     and can be back-xlated to an await.
-     Return the value of the promise. 
-     If the evaluation process has not yet finished, wait for it.
-     Otherwise return the value immediately.
-     Any exception which occurred during the evaluation is forwarded to the
-     requestor of the value here."
-
-    ^ self value
 ! !
 
 !Promise methodsFor:'initialization'!
@@ -167,5 +153,9 @@
 
 version
     ^ '$Header$'
+!
+
+version_CVS
+    ^ '$Header$'
 ! !