json-fs-query
    Preparing search index...

    Function trackDatabaseCall

    • Count a database call (taken by withDatabaseLock as soon as a call is queued) until the returned function is called. While any call is counted, configure() refuses to point databasePath somewhere else: every step of a call reads databasePath again, so a change halfway would write part of the call to one folder and the rest to another.

      Returns () => void