MCPcopy Index your code
hub / github.com/parse-community/parse-server / getConnectionsCount

Function getConnectionsCount

src/TestUtils.js:46–57  ·  view source on GitHub ↗
(server)

Source from the content-addressed store, hash-verified

44}
45
46export function getConnectionsCount(server) {
47 return new Promise((resolve, reject) => {
48 server.getConnections((err, count) => {
49 /* istanbul ignore next */
50 if (err) {
51 reject(err);
52 } else {
53 resolve(count);
54 }
55 });
56 });
57};
58
59export class Connections {
60 constructor() {

Callers 1

Calls 1

resolveFunction · 0.50

Tested by

no test coverage detected