Task 3 has no way to know when task 2 will be finished
Why ? It's strange
On 2020/6/3, 15:17, "boyi" <[email protected]> wrote:
hi:
o(╥﹏╥)o
It is mainly used for some specific scenes,
For example, task processing is not performed in the order of 1, 2, 3 and 4
For example, there is a gap between task 2 and task 3,
Task 3 has no way to know when task 2 will be finished
You can only wait by sleeping
In the new requirement, there is PR of "value passing". If it is
implemented, it can be modified appropriately
---------------------------
主要是用于一些特定场景,
比如: 任务处理 并不是 按1,2,3,4 的顺序依次执行.
比如 任务2和 任务3 之间存在间断,
任务3没有办法知道任务2什么时候执行完.
只能通过休眠的方式进行等待.
新的需求里面,有"值传递"的PR, 这个如果实现了,就可以再做适当的修改.
--------------------------------------
BoYi ZhangE-mail : [email protected]
On 06/3/2020 15:03,wu shaoj<[email protected]> wrote:
Wow ,can't aggree with you more.
Keeping simple is so simple truth and so hard to pratice
On 2020/6/3, 15:00, "boyi" <[email protected]> wrote:
hi:
Currently, support is not recommended. Keep it simple
After the subsequent "value passing" requirements are implemented, or "if
else task" is used for support
———
当前不建议支持.保持简单.
后续 "值传递"需求实现后,或者使用 " if-else task " 进行支持.
--------------------------------------
BoYi ZhangE-mail : [email protected]
On 06/3/2020 14:11,huangming<[email protected]> wrote:
Such as an HTTP interface or a file or a database field
huangming
From: boyi
Date: 2020-06-03 13:57
To: [email protected]
Subject: Re: New task type
hi:
Can you give me an example??
--------------------------------------
BoYi ZhangE-mail : [email protected]
On 06/3/2020 13:53,huangming<[email protected]> wrote:
Can you add the logic to check a condition before deciding whether to sleep
是否可以加入检查某个条件不满足再休眠的逻辑
huangming
From: boyi
Date: 2020-06-03 13:42
To: [email protected]
Subject: Re:New task type
hi:
In my project, I need a task node type, which can sleep for a specified
time, and then continue to perform subsequent tasks
If necessary, I will commit the dev branch
As shown in the figure
--------------------------------------
BoYi ZhangE-mail : [email protected]
On 06/3/2020 13:39,boyi<[email protected]> wrote:
hi:
在我的项目中,需要一种任务节点类型, 可以休眠指定的时间.然后继续执行后续任务.
如果需要的话,我将会提交的dev分支.
如图