Skip to content

Commit

Permalink
docs: 修复 busy 模块混乱的文档表达
Browse files Browse the repository at this point in the history
  • Loading branch information
dzpao committed Nov 21, 2023
1 parent eb1193f commit 1f851f7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions mud/pkuxkx/plugins/basic/busy.tin
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ VAR {正在等待的回调列表} busy.wait-list {};

///=== {
// ## busy.Wait <回调代码>
// 检查角色当前是否处于 busy 状态,当不在 busy 状态,或 busy 状态解除时,执行回调代码
// 否则直接执行回调代码
// 检查角色是否处于 busy 状态,如果是,则等待 busy 状态结束后执行回调代码
// 否则立即执行回调代码
// };
#alias {busy.Wait} {
#local code {%1};
Expand All @@ -46,8 +46,8 @@ VAR {正在等待的回调列表} busy.wait-list {};

///=== {
// ## busy.Halt <回调代码>
// 检查角色当前是否处于 busy 状态,如果在 busy 状态,则用 halt 解除 busy,解除成功后,执行回调代码。
// 否则直接执行回调代码
// 检查角色是否处于 busy 状态,如果是,则用 halt 解除 busy,解除成功后,执行回调代码。
// 否则立即执行回调代码
// };
#alias {busy.Halt} {
#local code {%1};
Expand Down

0 comments on commit 1f851f7

Please sign in to comment.