drop

SpecialNodes drop

input ports:
Name Type Description Optional

input

?

input to be discarded

no

drop reads its input and discards it. It is for use when a result is produced unconditionally from an upstream node, but the result is not needed.

In this example, the Clock utility node outputs a boolean value once a second. This boolean output is not optional; the program will halt with an error if the Clock output is simply left disconnected. Instead, it is sent into a drop node that consumes and discards.

SpecialNodes drop2

drop is needed relatively rarely, because most special nodes make any output optional that might sensibly be left disconnected. And similarly for most AWS SDK nodes.