MCPcopy Create free account
hub / github.com/WiseLibs/better-sqlite3 / sync

Function sync

benchmark/benchmark.js:5–7  ·  view source on GitHub ↗
(fn)

Source from the content-addressed store, hash-verified

3const benchmark = require('nodemark');
4
5const sync = (fn) => {
6 display(benchmark(fn));
7};
8
9const async = (fn) => {
10 const wrapped = cb => fn().then(() => cb(), cb);

Callers

nothing calls this directly

Calls 1

displayFunction · 0.85

Tested by

no test coverage detected