Skip to content

Commit

Permalink
Update session.md (#104)
Browse files Browse the repository at this point in the history
Co-authored-by: WindBullet <[email protected]>
  • Loading branch information
windbullet and windbullet authored Jan 9, 2024
1 parent a494f7c commit b2b85f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zh-CN/api/core/session.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@
- **options.timeout:** 中间件的生效时间,缺省时会使用 [`app.config.delay.prompt`](./app.md#options-delay)
- 返回值: `Promise<T>` 回调函数返回的结果

处理当前会话的下一次输入,如果超时则会返回 `null`。如果回调函数返回值非空,则下一次输入不会进入中间件处理流程。
处理当前会话的下一次输入,如果超时则会返回 `undefined`。如果回调函数返回值非空,则下一次输入不会进入中间件处理流程。

### session.suggest(options)

Expand Down

0 comments on commit b2b85f6

Please sign in to comment.