ExecutionPolicy

@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
sealed class ExecutionPolicy

Deprecated

This will be removed from future releases after 2027-02-05.

Execution policy determines how requests to multiple APIs are executed.

Inheritors

Types

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
object Fallback : ExecutionPolicy

Fallback to the alternate API in case primary fails.

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
object Parallel : ExecutionPolicy

Run both APIs requests in parallel, first to succeed wins.