Feature request: sleep() function for inserting delay into processing chain #22146
Labels
type: feature
A value-adding code addition that introduce new functionality.
vrl: stdlib
changes to VRL's standard library.
A note for the community
Use Cases
We have some possible uses for inserting delays into output for testing purposes. There does not seem to be a "sleep()" function. I think that should be fairly easy, and may be useful in some circumstances. I know it is a seemingly contradictory function in a system designed for speed, but sometimes there is a need to take a nap.
Attempted Solutions
I could create some really awful artificial loops or reading events or other stuff.. but... ugh.
Proposal
I would like to see a sleep() function that would take as its only input the number of milliseconds of non-action before continuing.
References
No response
Version
0.44
The text was updated successfully, but these errors were encountered: