Repository navigation
docs(cn): update /guide - #1039
Conversation
✅ Deploy Preview for cn-vitest ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6c8c642eef
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
|
|
||
| on(event: string, callback: (arg: any) => void): void { | ||
| // Provide way to listen to your workers events, e.g. message, error, exit | ||
| // 监听 worker 事件的方式,例如 message、error 和 exi |
There was a problem hiding this comment.
Spell the worker
exit event correctly
When readers implement CustomPoolWorker.on from this example, the listed worker events are the concrete names they need to handle, but exi is not a worker event; the intended event is exit, as in the source text. Leaving the truncated name can lead a copied implementation to subscribe to an event that never fires.
Useful? React with 👍 / 👎.
在提交PR之前,请确保你执行以下操作:
fixes #123)。描述
附加上下文