-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simplified events draft #396
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
acedward
reviewed
Jul 17, 2024
SebastienGllmt
added a commit
that referenced
this pull request
Jul 28, 2024
* Simplified events draft * Simplify even more * lint fix * make indexed optional, fix exports, rename fields * MQTT async update * move to qos2 by default * eslint & bug fixes * temp fix on packaeg resolution * Create new local SDK packing tool * Add missing packages to local SDK output * more improvements to local SDK setup * add missing @paima/precompiles exports * fix paima-event bugs * small eslint fix * Fix topic generation & parsing bugs * Better 'this' handling for events * More fixes and improvements * Make batcher filter indexable * Fix incorrect casing on BatcherStatus * Restrict event publishing just to localhost * fix batcher localhost startup script * Add localhost package check * document edge-case on BatcherStatus updates
SebastienGllmt
added a commit
that referenced
this pull request
Jul 28, 2024
* Emit MQTT Events basic implementation * MQTT Client * Batcher Server Echo * Updated Client * Added ENV * Only emit if block has data to be processed by stf. * Paima Events V1 * lint * Revert Changes * Paima Events v1 * batcher hashes * Remove mqtt:// protocol * Update fetch for last STF block * Removed ENV dependency * Added Frontend Helpers. * Removed unused hash * env removed coalescing * removed .gitignore * env variables update * Simplified events draft (#396) * Simplified events draft * Simplify even more * lint fix * make indexed optional, fix exports, rename fields * MQTT async update * move to qos2 by default * eslint & bug fixes * temp fix on packaeg resolution * Create new local SDK packing tool * Add missing packages to local SDK output * more improvements to local SDK setup * add missing @paima/precompiles exports * fix paima-event bugs * small eslint fix * Fix topic generation & parsing bugs * Better 'this' handling for events * More fixes and improvements * Make batcher filter indexable * Fix incorrect casing on BatcherStatus * Restrict event publishing just to localhost * fix batcher localhost startup script * Add localhost package check * document edge-case on BatcherStatus updates * Include batcher MQTT updates * fix env.process lookup --------- Co-authored-by: Sebastien Guillemot <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR simplifies the event system, also sets up the events to use
typebox
so that it is both strongly typed and so that we can later export them as json-schema for documentation purposes and so that it works well with the json-schema we'll use for the log systemHandling shutdowns in event listeners
in Emit event standard for games #373)/
,+
,#
) in event namesDefine an event
Listen to Messages
Listen to an event
Send Messages
Sent an event