Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Pub sub "reloaded" --> new version of the pub-sub app#1098

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
552020 wants to merge7 commits intodfinity:master
base:master
Choose a base branch
Loading
from552020:pub-sub-reloaded

Conversation

@552020
Copy link
Contributor

I tested it, it seems to work.

Overview
Why do we need this feature? What are we trying to accomplish?

While working on the2.2 of the "Motoko Developer Liftoff" I had some hard time to understand the example app. The course was pretty good till to this point. So I tried to rewrite the example in a more understandable way, without making too complicate, and also adding some documentation in the README to understand the PubSub app. Since the PubSub app is tied to the video, probably it doesn't make sense to replace them. But maybe this version could be added as a note at the end of the lesson.

An explanation of the changes are in the README itself.

Requirements
What requirements are necessary to consider this problem solved?

Considered Solutions
What solutions were considered?

Recommended Solution
What solution are you recommending? Why?

Considerations
What impact will this change have on security, performance, users (e.g. breaking changes) or the team (e.g. maintenance costs)?

lmangall and espieux reacted with hooray emoji
- Replace Counter type with NewsMessage type for better real-world representation- Rename subscriber functions for clarity (init -> subscribeToTopic)- Update state tracking from count to totalReadingTime- Adjust callback functions to handle NewsMessage type"
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@552020

[8]ページ先頭

©2009-2025 Movatter.jp