Skip to content

Commit

Permalink
docs: fix typo in zh-cn/bloc-concepts.mdx (#4276)
Browse files Browse the repository at this point in the history
Co-authored-by: Felix Angelov <[email protected]>
  • Loading branch information
LouisLou2 and felangel authored Nov 16, 2024
1 parent 9cb1aef commit 5d80dcc
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 5d80dcc

Please sign in to comment.