Skip to content

Commit

Permalink
feat: update toc of readmes
Browse files Browse the repository at this point in the history
  • Loading branch information
Saiya committed Aug 22, 2024
1 parent cdaee6a commit 44a030e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
5 changes: 4 additions & 1 deletion packages/duplex-message/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
- [Install](#install)
- [Example](#example)
- [Usage](#usage)
- [import \& debug](#import--debug)
- [Import \& Debug](#import--debug)
- [constructor](#constructor)
- [Shared instance](#shared-instance)
- [on](#on)
Expand All @@ -40,7 +40,10 @@
- [proxy for PostMessageHub](#proxy-for-postmessagehub)
- [dedicated instance for PostMessageHub](#dedicated-instance-for-postmessagehub)
- [Error](#error)
- [FAQ](#faq)
- [How to deal with the error `no corresponding handler found for method xxx`?](#how-to-deal-with-the-error-no-corresponding-handler-found-for-method-xxx)
- [Development](#development)
- [License](#license)


## Features
Expand Down
5 changes: 3 additions & 2 deletions packages/simple-electron-ipc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,12 @@
- [Install](#install)
- [Example](#example)
- [Usage](#usage)
- [MainMessageHub & RendererMessageHub](#mainmessagehub--renderermessagehub)
- [MainMessageHub \& RendererMessageHub](#mainmessagehub--renderermessagehub)
- [emit](#emit)
- [on](#on)
- [progress](#progress)
- [off](#off)
- [destroy](#destroy)
- [Error](#error)
- [Debug](#debug)
## Features
Expand Down Expand Up @@ -297,7 +298,7 @@ mainMessageHub.off(peer: WebContents | '*', methodName?: string)
rendererMessageHub.off(methodName?: string)
```
#### destroy
### destroy
Destroy instance: remove all message handlers and references of objects.
Any invoking of destroyed instance's methods will throw an exception
Expand Down

0 comments on commit 44a030e

Please sign in to comment.