Skip to content

Commit cacc266

Browse files
committed
Add TOC
1 parent 65a899f commit cacc266

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

Diff for: README.md

+17
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,23 @@
22

33
A trivial implementation of timeouts for `Promise`s, built on top of [React PHP](http://reactphp.org/).
44

5+
**Table of contents**
6+
7+
* [Usage](#usage)
8+
* [timeout()](#timeout)
9+
* [Timeout cancellation](#timeout-cancellation)
10+
* [Cancellation handler](#cancellation-handler)
11+
* [Input cancellation](#input-cancellation)
12+
* [Output cancellation](#output-cancellation)
13+
* [Collections](#collections)
14+
* [resolve()](#resolve)
15+
* [Resolve cancellation](#resolve-cancellation)
16+
* [reject()](#reject)
17+
* [Reject cancellation](#reject-cancellation)
18+
* [TimeoutException](#timeoutexception)
19+
* [Install](#install)
20+
* [License](#license)
21+
522
## Usage
623

724
This lightweight library consists only of a few simple functions.

0 commit comments

Comments
 (0)