Skip to content

ui-router-server / simulate / onceSettled

Function: onceSettled() ​

ts
function onceSettled(router): Promise<boolean>;

Defined in: simulate.ts:29

Resolves once the router's transition settles — true on success, false on a real failure. Redirected rejections only hand off to a successor transition, so the final transition's outcome is the answer.

Parameters ​

ParameterType
routerUIRouter

Returns ​

Promise<boolean>