Zum Hauptinhalt gehen

Documentation or examples for Evaluate Expression Async Activity

Kommentare

2 Kommentare

  • Ken Lyon

    If the Expression input is a promise, the Evaluate Expression Async activity will wait for the promise to resolve and return the result.

    1
  • Michael Langbein

    An example would be very helpful. 
     

    
    new Promise((resolve, reject) => {
       setTimeout(() => {
         window.console.log("resolving ...");
         resolve("... done"); 
       }, 1_000);
    });

     

    … doesn't seem to work for me. Nothing being logged.

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.