Determines the unwrapping behavior of asynchronous resolve values.
When an Observable is returned from the resolveFn, wait until the Observable emits at least one item.
If any other value will be converted to an Observable that emits such value.
The Observable item will not be unwrapped.
The Observable stream itself will be provided when the resolve is injected or bound elsewhere.
The Transition will wait for the main.home resolve observables to emit their first value.
Promises will be unwrapped and returned as observables before being provided to components.
var mainState = {
name: 'main',
resolve: mainResolves, // defined elsewhereresolvePolicy: { async: RXWAIT },
}
Determines the unwrapping behavior of asynchronous resolve values.
Example:
The
Transition
will wait for themain.home
resolve observables to emit their first value. Promises will be unwrapped and returned as observables before being provided to components.var mainState = { name: 'main', resolve: mainResolves, // defined elsewhere resolvePolicy: { async: RXWAIT }, }