Fwd: Writing specs that use promises

Hey all,

The Promises spec is finally making it into ECMAScript. We might also 
want to double-check the NFC draft that was based on the DOM Promise 
spec as of May 2013.

Luc

-------- Original Message --------
Subject: Writing specs that use promises
Resent-Date: Tue, 03 Dec 2013 21:18:08 +0000
Resent-From: public-sysapps@w3.org
Date: Wed, 4 Dec 2013 07:17:32 +1000
From: Marcos Caceres <w3c@marcosc.com>
To: Marcos Caceres <mcaceres@mozilla.com>
CC: domenic@domenicdenicola.com

(bcc spec-prod + public-sysapps … feel free to share with other WGs, of 
course)

Hi All,
Just stumbled across this very helpful guide to “Writing Promise-Using 
Specifications” - it contains a wealth of examples and great little 
“shorthands” that make using promises in specs a breeze. It’s written by 
Domenic Denicola (cc'd), who edits the Promises spec that will be part 
of ECMAScript (Promises been removed from the DOM spec BTW, so update 
your references to point to [1] if you haven’t already):

https://github.com/domenic/promises-unwrapping/blob/master/writing-specifications-with-promises.md 


If you are using Promises in your specs, then it’s obviously going to be 
your go-to guide! :) And if you are using Promises, then please do take 
the time to read the document, double check your spec is correct, and 
provide feedback (specially if you think the guide can be improved).

Huge thanks to Domenic for putting together this much needed guidance to 
help the community!

Happy spec’ing,
Marcos

[1] The README.md is the spec, see: 
https://github.com/domenic/promises-unwrapping

--
Marcos Caceres

Received on Wednesday, 4 December 2013 09:22:16 UTC