Skip to content

Commit

Permalink
docs: dispose
Browse files Browse the repository at this point in the history
  • Loading branch information
duguyihou committed Aug 18, 2024
1 parent 2b8b3d2 commit 485797d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit 485797d

Please sign in to comment.