Writing specs that use promises

Some material brought to us by Marcos and Domenic to make sure we use Promises in the right way.
Virginie

-----Original Message-----
From: Marcos Caceres [mailto:w3c@marcosc.com]
Sent: mardi 3 décembre 2013 22:18
To: Marcos Caceres
Cc: domenic@domenicdenicola.com
Subject: Writing specs that use promises

(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




This message and any attachments are intended solely for the addressees and may contain confidential information. Any unauthorized use or disclosure, either whole or partial, is prohibited.
E-mails are susceptible to alteration. Our company shall not be liable for the message if altered, changed or falsified. If you are not the intended recipient of this message, please delete it and notify the sender.
Although all reasonable efforts have been made to keep this transmission free from viruses, the sender will not be liable for damages caused by a transmitted virus

Received on Tuesday, 3 December 2013 22:54:36 UTC