Fix PlatformSettingsHandler always returning true due to returning a Promise (#8954)

* Fix PlatformSettingsHandler always returning true due to returning a Promise

* Improve typescript
This commit is contained in:
Michael Telatynski 2022-06-30 15:48:21 +01:00 committed by GitHub
parent c3f26d619e
commit 424d33d4b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 72 additions and 8 deletions

View file

@ -315,4 +315,10 @@ export enum Action {
* Fired when the client was logged in. No additional payload information required.
*/
OnLoggedIn = "on_logged_in",
/**
* Fired when the PlatformPeg gets a new platform set upon it, should only happen once per app load lifecycle.
* Fires with the PlatformSetPayload.
*/
PlatformSet = "platform_set",
}