Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
node-red-contrib-looptimer2
Advanced tools
Sends msg to the first output continually, once per specified time, till a msg with any topic of 'stop' or 'STOP' is received on input.
Readme
This node fixes a loop timer node problem. When you send "stop" as an msg string to the node and then run the loop again, it will execute as expected, unlike the original node.
Sends the msg
through the first output, then continues to do so in a loop, once per the timer duration specified, until a payload of stop
or STOP
is received, at which time the second output will automatically send a payload of stopped
.
Sends msg
to the first output continually, once per specified time, till a msg with any topic of stop
or STOP
is received, at which time the second output will automatically send a payload of stopped
.
You can also stop the loop by specifying a maximum number of loops, which when reached, will stop the loop and timer, as well as sending a payload of max loops reached
through the second output. Keep in mind, the first msg
simply passes through, and is therefore not part of the loop. So if you set the max loops to 5
, you will get 6 messages
, which is 1 original message, and 5 messages from the loop.
Finally, to ensure you do not end up with an infinite loop, you can set a maximum timeout in seconds, minutes or hours, and when that time is reached, the loop and timer will also be stopped.
Setting the Max Loops and Max Timeout settings to high values can, for all intents, ensure that the loop can only be stopped by an incoming stop
payload, however, the stability of the loop has not been tested over an extended number of hours.
FAQs
Sends msg to the first output continually, once per specified time, till a msg with any topic of 'stop' or 'STOP' is received on input.
The npm package node-red-contrib-looptimer2 receives a total of 65 weekly downloads. As such, node-red-contrib-looptimer2 popularity was classified as not popular.
We found that node-red-contrib-looptimer2 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.