mongodb-memory-server-core
    Preparing search index...

    Interface DisposeOptions

    Options to configure Symbol.asyncDispose behavior

    interface DisposeOptions {
        cleanup?: Cleanup;
        enabled?: boolean;
    }
    Index

    Properties

    Properties

    cleanup?: Cleanup

    Pass custom options for cleanup

    { doCleanup: true, force: false }
    
    enabled?: boolean

    Set whether to run the dispose hook or not. Note that this only applies when Symbol.asyncDispose is actually called

    true