From bca7607f66fa4c8ee7ec6a29b8390121dd807bf3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Daubensch=C3=BCtz?= Date: Sat, 25 Jun 2022 20:10:29 +0200 Subject: [PATCH] Add requirement about `callback` param - Fixes #898 --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 45e68a98..b6bd81d6 100644 --- a/README.md +++ b/README.md @@ -451,6 +451,10 @@ and **optional**. available. * Optional methods are ones this module does not call at all, but helps present uniform stores to users. + * The `callback` function parameter may not be truthy at times. + Implementers must consider checking `callback` specifically to invoke it + only when it is defined. + For an example implementation view the [connect-redis](http://github.com/visionmedia/connect-redis) repo.