Skip to main content

Command Palette

Search for a command to run...

Promise in BrightScript

Updated
1 min read

Implement promise in BrightScript

' methods
'promise_resolve
'promise_reject
'promise_All ' Fulfills when all of the promises fulfill; rejects when any of the promises rejects.
'promise_AllSettled ' Fulfills when all promises settle.
'promise_race ' Settles when any of the promises settles. In other words, fulfills when any of the promises fulfills; rejects when any of the promises rejects.
'promise_any ' Fulfills when any of the promises fulfills; rejects when all of the promises reject.
'promise_finally

BrightScript

Part 3 of 19

BrightAuthor plugin development with BrightScript, the scripting programming language for the BrightSign player.

Up next

BrightSign User Agent String

How to change the User Agent String on the BrightSign player’s browser.