Skip to content
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

docs: fix typo in zh-cn/bloc-concepts.mdx #4276

Merged
merged 2 commits into from
Nov 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/src/content/docs/zh-cn/bloc-concepts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ blocs 和 cubits 都会忽略重复的状态。如果 `state == nextState` 时
`await Future.delayed(Duration.zero)` 是用来确保我们等待下一个事件循环周期(以便 `EventHandler` 处理这个事件)。
:::

#### Steam的用法
#### Stream的用法

和 `Cubit` 一样,`Bloc` 是一个特殊的 `Stream` 类型,这意味着我们也可以订阅 `Bloc` 以实时更新其状态:

Expand Down