Classcorev0.1.0-next.5
DispatchContext
A typed bag allocated once per interaction dispatch and handed to the handler. The middleware and i18n work reads and writes it through DispatchStateDispatchState. Today the bag is empty, so it only carries the dispatched routeIdrouteId.
class DispatchContextclass DispatchContextMember visibility
Filter class members by access level.
public get<Key>(key: Key): DispatchState[Key] | undefinedpublic get<Key>(key: Key): DispatchState[Key] | undefinedpublic set<Key>(key: Key, value: DispatchState[Key]): voidpublic set<Key>(key: Key, value: DispatchState[Key]): void