I am wondering why I can't get this example from the documentation of PromiseKit running: http://promisekit.org/when/
I have found out that .catch has been renamed to .error, and .finally has been renamed to .always, but what about "when"?
Or am I doing anything completely wrong? The documentation of PromiseKit is not very explanatory.