Sidebar

Can you delay a message anywhere besides an endpoint?

0 votes
182 views
asked Apr 4, 2023 by lewis-s-9714 (1,020 points)
We have a situation where it would be useful to be able to delay messages for a few minutes. I can see the options for delaying endpoints, anywhere else? I suppose I could make an extra channel, but it would be nice to conserve if it's supported another way.

1 Answer

+1 vote
 
Best answer

Utalizing qie.pause(); will hold the message for the specified milliseconds before allowing the data to continue processing. 

qie.pause(150000);

answered Apr 4, 2023 by amanda-w-3695 (4,840 points)
selected Apr 4, 2023 by lewis-s-9714
...