MCPcopy Create free account
hub / github.com/parse-community/parse-server / wait

Function wait

spec/InMemoryCacheAdapter.spec.js:7–11  ·  view source on GitHub ↗
(sleep)

Source from the content-addressed store, hash-verified

5 const VALUE = 'world';
6
7 function wait(sleep) {
8 return new Promise(function (resolve) {
9 setTimeout(resolve, sleep);
10 });
11 }
12
13 it('should expose promisifyed methods', done => {
14 const cache = new InMemoryCacheAdapter({

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…