I'm using JavaScript, and in the feedback system, I don't seem to have a problem with not writing Sleep in while. The API documentation also says Sleep can be rewritten.
The grassGenerally, it is needed, otherwise it will exceed the frequency limit.