Demonstrate dis.fire() with view_user_settings
Like a5f3318f3b
, this proves that the new dispatcher conversion works for fire-and-forget style dispatches too. This is another obvious-if-broken and generally safe conversion to make.
Other actions which can be dispatched this way have been excluded for reasons mentioned in the Action enum's comments.
This commit is contained in:
parent
a5f3318f3b
commit
e4835c4b03
10 changed files with 24 additions and 13 deletions
|
@ -33,5 +33,10 @@ export enum Action {
|
|||
* View a user's profile. Should be used with a ViewUserPayload.
|
||||
*/
|
||||
ViewUser = "view_user",
|
||||
|
||||
/**
|
||||
* Open the user settings. No additional payload information required.
|
||||
*/
|
||||
ViewUserSettings = "view_user_settings",
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue