A routing guard that will optionally redirect to a given url if the cart is not properly resolved. It will initiate cart resolution. The url has no default and the guard will not redirect if no value is specified. Specify a redirect path with the DaffResolvedCartGuardRedirectUrl injection token. The guard will wait until the cart has been resolved before performing the check and emitting.
Name | Type | Description |
---|---|---|
canActivate | Observable<boolean | UrlTree> |