# MongoosePreHookAsyncCB Interface

Module
import { MongoosePreHookAsyncCB } from "@tsed/mongoose"
Source/packages/mongoose/src/interfaces/MongooseSchemaOptions.ts

# Overview

interface MongoosePreHookAsyncCB<T> {
    (doc: MongooseDocument<T>, next: HookNextFunction, done: HookDoneFunction): any;
}

# Members

(doc: MongooseDocument<T>, next: HookNextFunction, done: HookDoneFunction): any