@earth-app/collegedb
    Preparing search index...

    Interface HyperdriveProviderOptions

    Options controlling how a Hyperdrive-backed provider manages its client.

    1.4.0

    interface HyperdriveProviderOptions {
        scope?: () => object | undefined;
    }
    Index
    scope?: () => object | undefined

    Returns an object identifying the current request, typically the Request itself. The provider keeps one client per distinct token in a WeakMap, so a new request transparently gets a new client and the old one is released without an explicit HyperdriveProvider.dispose call.

    Use this when a single CollegeDB configuration is shared across requests, which is what every module-scope initialize does.