Hoppa till huvudinnehållet

Documentation or examples for Evaluate Expression Async Activity

Kommentarer

2 kommentarer

  • 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

Du måste logga in om du vill lämna en kommentar.