Promise

JavaScript Promise type.

Description

JavaScript's native Promise object is used to aid async programming and is always what is returned from an async function. A Promise can be used to tell the program to wait until an asynchronous action has completed.

A detailed description of the Promise type is available on the Mozilla Developer Network.

Use in DataTables

Where a parameter is shown as accepting a Promise type, or a method returning a Promise type, it indicates that a native Promise object is expected / returned.