0.0.27 • Published 9 years ago

node-red-contrib-repeat v0.0.27

Weekly downloads
100
License
MIT
Repository
github
Last release
9 years ago

Repeat NodeRED Node

NPM

Allow a message to pass through this node for an specific number of times, after which it will be discarded. This unveils the ability to limit the loops over a flow to N times.

Optionally a second output can be enabled to grasp the message once the repetitions are exhausted.

Note: See info panel in NodeRED for up-to-date usage details.

Screenshot

Install

rpm install -g node-red-contrib-repeat

Notes on the design

This node is designed in a stateless fashion; no state is stored in the node's context, and instead each message stores its state for the current repeat node (in the _loopController property). This has some drawbacks, like the fact that currently it does not support more than 1 repeat node operating upon a msg simultaneously. However, the drawbacks of this approach are outweighed by the advantatges and safety of not having to manage a node-centralized state.

0.0.27

9 years ago

0.0.26

9 years ago

0.0.25

9 years ago

0.0.24

9 years ago

0.0.23

9 years ago

0.0.22

9 years ago

0.0.21

9 years ago

0.0.20

9 years ago

0.0.19

9 years ago

0.0.18

9 years ago

0.0.17

9 years ago

0.0.16

9 years ago

0.0.15

9 years ago

0.0.14

9 years ago

0.0.13

9 years ago

0.0.12

9 years ago

0.0.11

9 years ago

0.0.10

9 years ago

0.0.9

9 years ago

0.0.8

9 years ago

0.0.7

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago