Skip to content

.when() documentation should say it takes Promises, not just Deferreds #906

Closed
@JonathanAquino

Description

@JonathanAquino

The documentation for $.when() says that it takes Deferreds. However, it later implies that it can take Deferreds or Promises:

If a single argument is passed to jQuery.when() and it is not a Deferred or a Promise, ...

If so, then the documentation should be updated to say that $.when() takes Promises, not just Deferreds. Promises are more general than Deferreds.

In my testing, $.when() works with Promises, not just Deferreds.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions