Just set the output pulse pin to true. For example, from "delay " node:
emitValue<output_DONE>(ctx, true);
FYI: putting in a delay(1) without re-checking the input value after will not provide “debounce”. You mention in another post that you need this to react quickly, so you probably can’t afford much time on debounce anyway…you will be off the metal when you go back to re-check input to see if it was a false-positive. There is a debounce node that you can use to filter input to your node, but unfortunately, it is an abstract type so you can’t easily view the code for it to copy into your own node (but XOD is about re-use and you should use the existing node for debounce instead of copying the code anyway).