Variable answerAfterCommit
answerAfterCommit: (
operation: any,
handler: any,
refusal: any,
) => (req: any, res: any, next: any) => any = answerAfterCommit
Type Declaration
-
- (
operation: any,
handler: any,
refusal: any,
): (req: any, res: any, next: any) => any
-
Parameters
- operation: any
- handler: any
- refusal: any
Returns (req: any, res: any, next: any) => any
the wrapped handler
Wraps an LDAP handler so that its result is sent only once the writes it made have committed, and an error made by
refusalis sent instead when that commit fails.