MCPcopy Create free account
hub / github.com/nodejs/node / onend

Function onend

test/parallel/test-async-local-storage-http-multiclients.js:59–65  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57
58// Retrieve the store data, and test for homogeneity
59function onend() {
60 const store = cls.getStore();
61 assert.notStrictEqual(store, undefined);
62 const data = store.get('data');
63 assert.strictEqual(data, data[0].repeat(data.length));
64 countdown.dec();
65}

Callers

nothing calls this directly

Calls 3

decMethod · 0.80
getMethod · 0.65
getStoreMethod · 0.45

Tested by

no test coverage detected