Skip to content

Commit

Permalink
Update 并发任务.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
10100mumu authored Dec 14, 2023
1 parent 6f047bc commit 7fb89cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 进阶/并发任务.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## Yao 支持 task 并发任务

- 新建文件目录 `/tasks/task.js`:
- 新建文件目录 `/tasks/task.yao`:

```json
{
Expand Down Expand Up @@ -120,7 +120,7 @@ function OnError(id, err) {
```javascript
function task() {
for (i = 1; i < 100; i++) {
Process("tasks.test.Add", "进入任务" + i);
Process("tasks.task.Add", "进入任务" + i);
}
}
```
Expand Down

0 comments on commit 7fb89cf

Please sign in to comment.