Comments (3)
不是已经支持了吗?create_timedgo_task。
当然,我们无法中断你的执行函数,但是如果执行时间到直接callback,state=WFT_STATE_SYS_ERROR,error=ETIMEDOUT。
from workflow.
建议通过判断state是否为WFT_STATE_SUCCESS来确定时正常执行完成,还是超时(之前有一个版本,超时时的state不是ERROR而是ABORTED)。
另外需要注意的是,不要在你的执行函数里访问series,因为这种情况下series可能已经结束了。但执行函数里访问task没问题。
from workflow.
好的,好的,收到了,不好意思,没有好好看😂
from workflow.
Related Issues (20)
- http请求的body数据多了些内容? HOT 2
- Ubuntu23.04会有undefined reference to `SSL_ctrl'错误 HOT 4
- http server 如何将一个大文件分块传输给http client?
- why create_repeater_task doesnt work,what I miss here? HOT 4
- windows分支使用VS2022编译成功后,_include下没有kafka相关的头文件 HOT 20
- Update Fedora CI image version HOT 1
- KAFKA客户端的几个问题 HOT 13
- 使用xmake构建遇到一样的问题 HOT 5
- 自定义协议,某个请求收到后不需要进行响应,process中该怎么处理? HOT 5
- 有无使用套接字连接的例子 HOT 1
- 关于tutorial-13-kafka_cli.cc错误提示的问题 HOT 6
- 不安装workflow,如何cmake导入,像add_subdirectory(glog)那样。 HOT 16
- 想请问一下如何在本地部署 HOT 9
- 使用自定义协议时,收发数据和实际数据大小不一致 HOT 2
- WebSocket分支使用问题求助 HOT 2
- workflow的使用场景 HOT 3
- Mysql客户端批量插入死锁(Windows) HOT 24
- http请求去除connection header HOT 8
- Windows 平台编译时cmake无法识别OpenSSL HOT 8
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 workflow.