feat: add web search, stagger responses
Node.js CI / Lint and Test (push) Successful in 39s

This commit is contained in:
2025-10-10 17:53:36 -07:00
parent 94a4d7e043
commit 4300cf0d3f
6 changed files with 180 additions and 70 deletions
+16
View File
@@ -0,0 +1,16 @@
/**
* @copyright NHCarrigan
* @license Naomi's Public License
* @author Naomi Carrigan
*/
/**
* Sleeps for a given number of milliseconds.
* @param milliseconds - The number of milliseconds to sleep.
* @returns A promise that resolves after the given number of milliseconds.
*/
export const sleep = async(milliseconds: number): Promise<void> => {
await new Promise((resolve) => {
setTimeout(resolve, milliseconds);
});
};