From 90803f062bf1422ad9638508c7b62b6180afc005 Mon Sep 17 00:00:00 2001 From: Vincent Weevers Date: Thu, 10 Nov 2022 19:01:16 +0100 Subject: [PATCH] Mark hooks as experimental Follow-up for https://github.com/Level/abstract-level/pull/45. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 6c2894d..54fe494 100644 --- a/README.md +++ b/README.md @@ -770,6 +770,8 @@ console.log(nested.db === db) // true ### Hooks +**Hooks are experimental and subject to change without notice.** + Hooks allow userland _hook functions_ to customize behavior of the database. Each hook is a different extension point, accessible via `db.hooks`. Some are shared between database methods to encapsulate common behavior. A hook is either synchronous or asynchronous, and functions added to a hook must respect that trait. #### `hook = db.hooks.prewrite`