archives

« Bugzilla Issues Index

#2571 — Convert Promise.cast to Promise.resolve


As per the January consensus, Promise.cast's behavior is now taken on by Promise.resolve; the name Promise.cast is no longer used.

The January consensus included a more fundamental restructuring that will allow simplifications to the spec, but before we tackle those, it would be good to straighten out the API surface so that people have a more accurate draft spec to refer to

A diff with the necessary changes is at https://github.com/domenic/promises-unwrapping/commit/e56b48a4815b9fff5860ab031a5a55e3d779204b#diff-04c6e90faac2675aa89e2176d2eec7d8


fixed in rev23 editor's draft


fixed in rev23 draft