Retry a given expression a specified number of times with a delay between each attempt.
This will block the current thread until a value is resolved or the maximum number of attempts is reached.
Macro used to include code if the target_os is not ‘solana’.
This is intended to be used for code that is primarily for off-chain Switchboard Functions.
Macro used to include IPFS code if the feature ‘ipfs’ is enabled.
Macro used to include code if the feature ‘secrets’ is enabled.
This is intended to be used for code that is primarily for off-chain Switchboard Secrets.
Retry a given expression a specified number of times with a delay between each attempt.