delay-string-in-seconds

hitec-tenshi/delay-string-seconds/delay-string-in-seconds

No description
delay-string-in-seconds
@/delay-string-in-seconds
Tnumber
input in seconds to delay
INstring
string input
delay-string-in-seconds
T
IN
OUT
OUTstring
delayed sting output
To use the node in your project you should have the hitec-tenshi/delay-string-seconds library installed. Use the “File → Add Library” menu item in XOD IDE if you don’t have it yet. See Using libraries for more info.

C++ implementation

struct State {
};

{{ GENERATED_CODE }}

void evaluate(Context ctx) {
    auto inValue = getValue<input_IN>(ctx);
    auto inValueT = getValue<input_T>(ctx);
    delay (inValueT*1000);
    emitValue<output_OUT>(ctx, inValue);
}