You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2021/03/31 13:17:04 UTC

[GitHub] [openwhisk-composer] simonkleinfeld opened a new issue #80: repeat loop counter depending on previous result

simonkleinfeld opened a new issue #80:
URL: https://github.com/apache/openwhisk-composer/issues/80


   Hi there,
   
   i would like to know if it is possible to have the compose.repeat configurable?
   I have the following scenario.
   Function A returns e.g. {number:42}, now i would like to have a compose.repeat which runs 42 times another function B.
   
   IMHO this should be something like this:
   `compose.seq(
     functionA,
     composer.repeat(functionAResult.number, functionB)
   )`
   But i didn't figured out how to use a result from a previous function as a counter in the repeat, is this possible?
   
   Thank you!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [openwhisk-composer] simonkleinfeld commented on issue #80: repeat loop counter depending on previous result

Posted by GitBox <gi...@apache.org>.
simonkleinfeld commented on issue #80:
URL: https://github.com/apache/openwhisk-composer/issues/80#issuecomment-842365551


   Was able to do it using the map combinator


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [openwhisk-composer] simonkleinfeld closed issue #80: repeat loop counter depending on previous result

Posted by GitBox <gi...@apache.org>.
simonkleinfeld closed issue #80:
URL: https://github.com/apache/openwhisk-composer/issues/80


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [openwhisk-composer] simonkleinfeld closed issue #80: repeat loop counter depending on previous result

Posted by GitBox <gi...@apache.org>.
simonkleinfeld closed issue #80:
URL: https://github.com/apache/openwhisk-composer/issues/80


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [openwhisk-composer] simonkleinfeld commented on issue #80: repeat loop counter depending on previous result

Posted by GitBox <gi...@apache.org>.
simonkleinfeld commented on issue #80:
URL: https://github.com/apache/openwhisk-composer/issues/80#issuecomment-842365551


   Was able to do it using the map combinator


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org