WinJS.Promise.join function

Creates a Promise that is fulfilled when all the values are fulfilled.

Syntax

var promise = WinJS.Promise.join(values);

Parameters

  • values
    Type: Object

    An object whose members contain values, some of which may be promises.

Return value

Type: Promise

A Promise whose value is an object with the same field names as those of the object in the values parameter, where each field value is the fulfilled value of a promise.

Requirements

Minimum WinJS version

WinJS 1.0

Namespace

WinJS.Promise

See also

Promise