From 485797d981901556585e2902726bb68398a6925a Mon Sep 17 00:00:00 2001 From: duguyihou Date: Sun, 18 Aug 2024 14:44:21 +1000 Subject: [PATCH] docs: dispose --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e49c960..d32a735 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,13 @@ import TurboImage from 'react-native-turbo-image'; ### `prefetch` ```ts -TurboImage.prefetch([URLs]); +await TurboImage.prefetch([Source]); +``` + +### `dispose` + +```ts +await TurboImage.dispose([Source]); ``` ### `clearMemoryCache`