Update async.md

Do you mean 'cancel'?
This commit is contained in:
0xflotus 2018-10-07 19:25:37 +02:00 committed by GitHub
parent 3e61d2104a
commit a6034bf2d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,7 +34,7 @@ You can see that there is currently a background job executing.
* execution count is the number of executions, which have been executed 19 times since the start.
* timeout date: After this time, the job will automatically timeout and exit.
## 3. Suspend and Cannel job
## 3. Suspend and Cancel job
When the job is executing in the foreground, such as directly calling the command `trace Test t` or calling the background job command `trace Test t &`, the job is transferred to the foreground through the `fg` command. At this point, the console cannot continue to execute the command, but can receive and process the following keyboard events:
@ -80,4 +80,4 @@ If you want to stop background job, just `kill <job-id>`.
## 7. Others
* Support up to 8 commands at the same time redirect the output to the log file.
* Do not open too many background asynchronous commands at the same time to avoid affecting the performance of the target JVM.
* Do not open too many background asynchronous commands at the same time to avoid affecting the performance of the target JVM.