Skip to content

Instantly share code, notes, and snippets.

@altrim
Created December 4, 2021 16:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save altrim/6dab9b06a21305b4d81b66d4be617f88 to your computer and use it in GitHub Desktop.
Save altrim/6dab9b06a21305b4d81b66d4be617f88 to your computer and use it in GitHub Desktop.
import "@johnlindquist/kit";
// Menu: Layout Shift
// Description: Testing layout shift
// Author: Altrim Beqiri
// Twitter: @altrimbeqiri
const delayPromise = (ms = 3000) => new Promise((res) => setTimeout(res, ms));
while (true) {
await arg({
placeholder: "Thought:",
});
await delayPromise();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment