🙃
Block or Report
Block or report greg-bressler-ok
Report abuse
Contact GitHub support about this user’s behavior. Learn more about reporting abuse.
Report abusePinned
-
I was tasked with creating a TON of ...
I was tasked with creating a TON of messages in Slack channels for load testing of an app. After several attempts to automate this, I was able to write this loop and execute it as a Snippet in Chrome's devtools. Due to Slack posting rules, I would keep the sleep at 2 seconds or longer. 1function sleep(ms) {
2return new Promise(resolve => setTimeout(resolve, ms));
3}
45async function createMessages() {
-
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.