MCPcopy Create free account
hub / github.com/DeepNotesApp/DeepNotes / sleep

Function sleep

packages/@stdlib/vue/src/smart-computed.spec.ts:5–7  ·  view source on GitHub ↗
(ms: number)

Source from the content-addressed store, hash-verified

3import { createSmartComputed } from './smart-computed';
4
5function sleep(ms: number) {
6 return new Promise((resolve) => setTimeout(resolve, ms));
7}
8
9describe('SmartComputed', () => {
10 it('should execute only when dependencies change', async () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected