MCPcopy Create free account
hub / github.com/FlowiseAI/Flowise / sleep

Function sleep

packages/components/src/textToSpeech.ts:197–199  ·  view source on GitHub ↗
(ms: number)

Source from the content-addressed store, hash-verified

195}
196
197const sleep = (ms: number): Promise<void> => {
198 return new Promise((resolve) => setTimeout(resolve, ms))
199}
200
201export const getVoices = async (provider: string, credentialId: string, options: ICommonObject) => {
202 const credentialData = await getCredentialData(credentialId ?? '', options)

Callers 1

processChunksFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected