Replies: 3 comments
-
Middleware is the way to go to do async actions before or after something is read or written. It is a bit more verbose than the hooks but it's also more flexible. |
Beta Was this translation helpful? Give feedback.
-
Thanks, so I need the hole example for async write hook (mutate)? |
Beta Was this translation helpful? Give feedback.
-
Moved from (async) crypto api to suggested (sync) dchest/tweetnacl-js so simple way with hooks should work for me now. |
Beta Was this translation helpful? Give feedback.
-
Hi,
searching for a simple way for async hooks
Beta Was this translation helpful? Give feedback.
All reactions