I know that off of a .exec() you can do a doIf() which is wonderful, but I am having a hard time figuring out how to conditionally acquire resources with a call without repeating code. My use case is I want to have a config flag that will determine if our simulation interacts strictly with just our system or if the simulation will also pull accompanying resources located elsewhere. Is there a way to conditionally execute .resources()?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Implications of making a call as part of resources vs. it's own exec | 0 | 115 | June 19, 2019 | |
Get resources from functions | 1 | 129 | February 3, 2016 | |
Conditional Statements | 2 | 181 | January 7, 2024 | |
type ascription issue passing in a sequence of resources into the resources method | 0 | 103 | May 10, 2019 | |
How correlation can be done from resources that are fetched in parallel? | 3 | 105 | February 7, 2020 |