executeRoute.
executeRoute
takes an optional settings
object as a third parameter that can contain an updateCallback
function. This function will be called every time an action has been performed on the route by the SDK. You can use this callback to keep track of the execution status. The switchChainHook
is explained in more detail here.resumeRoute
is called with the same route object. The execution will then pick up where it halted. ExecutionSettings
interface.resumeRoute
takes in the same parameters as executeRoute
and will resume either a route that has been stopped or a route that has been moved to the background.