(path: string)
| 87 | |
| 88 | // replace the url with current history |
| 89 | public async replace(path: string) { |
| 90 | await this._barrier.wait(); |
| 91 | const emptyState = { pathname: '', search: '', hash: '' }; |
| 92 | return this._history!.replace({ ...emptyState, ...parsePath(encodeURI(path)) }); |
| 93 | } |
| 94 | |
| 95 | public async resolveParser(): Promise<RouterParser> { |
| 96 | await this._barrier.wait(); |
no test coverage detected