Comments (2)
方便定时器加入一些元数据信息, 供调用者使用
from timewheel.
已改为 interface{}
from timewheel.
Related Issues (15)
- 优化 HOT 2
- callback函数在创建时作为参数传入,是不是意味着定时任务全都相同
- 删除task的时候,采用惰性删除是不是好一些,轮训到这个任务再删除,不用另外遍历,已经有的map里面标记一下task要删除就可以了
- 周期性任务怎么办,需要在回调函数里面每调用一次增加一次吗 HOT 1
- for select {}出现case同时就绪时 ,怎么破?
- 定时很长时间会很占用内存吗?
- Stop函数的改为close(tw.stopC) HOT 1
- README.md 中 延迟消息的实现 的链接不对(Yellow) HOT 1
- 初學請教一個問題 HOT 1
- 删除任务时链表更新有问题 HOT 3
- readme中的conn是什么
- readme中的conn是什么? HOT 1
- 剩余时间获取 HOT 1
- 企业应用一般不能无限制开goroutine,考虑一下限制goroutine数量,for {go tw.callback(data)} HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from timewheel.