Browse Source

Updated files

master
adiao 3 years ago
parent
commit
744e3f2db2
  1. 8
      项目命名/项目命名格式.md

8
项目命名/项目命名格式.md

@ -83,10 +83,10 @@ team team.团队名.项目名.模块名.…… 团队项目,指由团队发起
| 位置 | 单词 | 意义| 例 | | 位置 | 单词 | 意义| 例 |
| :-----| :------| :-------| :------------- | | :-----| :------| :-------| :------------- |
| Prefix |blocking| 线程阻塞方法 blockingGetUser | Prefix |blocking| 线程阻塞方法| blockingGetUser
| Suffix |InBackground| 执行在后台的线程 doInBackground | Suffix |InBackground| 执行在后台的线程| doInBackground
| Suffix |Async| 异步方法 sendAsync | Suffix |Async| 异步方法 |sendAsync
| Suffix |Sync| 对应已有异步方法的同步方法 sendSync | Suffix |Sync| 对应已有异步方法的同步方法 |sendSync
| Prefix or Alone| schedule |Job 和 Task 放入队列 schedule, scheduleJob | Prefix or Alone| schedule |Job 和 Task 放入队列 schedule, scheduleJob
| Prefix or Alone| post| 同上 |postJob | Prefix or Alone| post| 同上 |postJob
| Prefix or Alone| execute| 执行异步方法(注:我一般拿这个做同步方法名)| execute, executeTask | Prefix or Alone| execute| 执行异步方法(注:我一般拿这个做同步方法名)| execute, executeTask

Loading…
Cancel
Save