Skip to content

Commit 44a030e

Browse files
author
Saiya
committed
feat: update toc of readmes
1 parent cdaee6a commit 44a030e

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

packages/duplex-message/README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
- [Install](#install)
3030
- [Example](#example)
3131
- [Usage](#usage)
32-
- [import \& debug](#import--debug)
32+
- [Import \& Debug](#import--debug)
3333
- [constructor](#constructor)
3434
- [Shared instance](#shared-instance)
3535
- [on](#on)
@@ -40,7 +40,10 @@
4040
- [proxy for PostMessageHub](#proxy-for-postmessagehub)
4141
- [dedicated instance for PostMessageHub](#dedicated-instance-for-postmessagehub)
4242
- [Error](#error)
43+
- [FAQ](#faq)
44+
- [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)
4345
- [Development](#development)
46+
- [License](#license)
4447

4548

4649
## Features

packages/simple-electron-ipc/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,12 @@
2222
- [Install](#install)
2323
- [Example](#example)
2424
- [Usage](#usage)
25-
- [MainMessageHub & RendererMessageHub](#mainmessagehub--renderermessagehub)
25+
- [MainMessageHub \& RendererMessageHub](#mainmessagehub--renderermessagehub)
2626
- [emit](#emit)
2727
- [on](#on)
2828
- [progress](#progress)
2929
- [off](#off)
30+
- [destroy](#destroy)
3031
- [Error](#error)
3132
- [Debug](#debug)
3233
## Features
@@ -297,7 +298,7 @@ mainMessageHub.off(peer: WebContents | '*', methodName?: string)
297298
rendererMessageHub.off(methodName?: string)
298299
```
299300
300-
#### destroy
301+
### destroy
301302
Destroy instance: remove all message handlers and references of objects.
302303
Any invoking of destroyed instance's methods will throw an exception
303304

0 commit comments

Comments
 (0)