Block.stop constructor

const Block.stop()

Creates a Block that stops navigation without running a follow-up callback.

Returning an object created by this constructor from an onEnter callback halts the navigation completely and resets the redirection history so the next attempt is evaluated fresh.

Implementation

const Block.stop() : super();