Classcorev0.7.0
class DispatchContext implements DispatchBagMember visibility
Filter class members by access level.
DispatchContext(routeId: string)public get<Key>(key: Key): DispatchState[Key] | undefinedpublic require<Key>(
key: Key
): Exclude<DispatchState[Key], undefined>Throws:
A SeedcordError If nothing set the key on this dispatch.
public set<Key>(key: Key, value: DispatchState[Key]): void