class DispatchContext<
Kind extends DispatchKind = DispatchKind
> implements DispatchBagMember visibility
Filter class members by access level.
Kind
What started this dispatch, an interaction kind or event.
Kind extends DispatchKind = DispatchKindpublic get<Key>(key: Key): DispatchState[Key] | undefinedpublic require<Key>(
key: Key
): Exclude<DispatchState[Key], undefined>Throws:
A SeedcordError when nothing set the key on this dispatch.
public set<Key>(key: Key, value: DispatchState[Key]): void