Saxonberg Server API
    Preparing search index...
    AroundDeleteFn: (
        collection: string,
        id: string,
        next: (id: string) => Promise<void>,
    ) => Promise<void>

    Around-delete hook signature. The hook receives the doc id plus a next callback that performs (or further dispatches) the actual delete.

    Type Declaration

      • (
            collection: string,
            id: string,
            next: (id: string) => Promise<void>,
        ): Promise<void>
      • Parameters

        • collection: string
        • id: string
        • next: (id: string) => Promise<void>

        Returns Promise<void>