Browse Source

ft: 添加说明

master
SisMaker 3 years ago
parent
commit
8b2c1dc612
1 changed files with 9 additions and 1 deletions
  1. +9
    -1
      README.md

+ 9
- 1
README.md View File

@ -1,9 +1,17 @@
gTimer gTimer
===== =====
多工作进程的全局定时器
An OTP application
Build Build
----- -----
$ rebar3 compile $ rebar3 compile
Useage
-----
startWork/1 开启指定数量的定时器工作者
setTimer/2 随机一个定时器工作者然后设置定时器
setTimer/3 指定选择定时器工作者策略然后设置定时器
getTimer/1 获取定时器的信息
delTimer/1 删除一个定时器

Loading…
Cancel
Save