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

Function wait

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

Source from the content-addressed store, hash-verified

1const RedisCacheAdapter = require('../lib/Adapters/Cache/RedisCacheAdapter').default;
2
3function wait(sleep) {
4 return new Promise(function (resolve) {
5 setTimeout(resolve, sleep);
6 });
7}
8/*
9To run this test part of the complete suite
10set PARSE_SERVER_TEST_CACHE='redis'

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…