Skip to content

Commit

Permalink
chore: update readme [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
simonecorsi committed Jun 24, 2021
1 parent 012bd4b commit f252a25
Showing 1 changed file with 15 additions and 16 deletions.
31 changes: 15 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,17 @@

<!-- PROJECT SHIELDS -->

![tests](https://github.com/simonecorsi/fine/workflows/test/badge.svg)
<!-- ![tests](https://github.com/simonecorsi/fine/workflows/test/badge.svg) -->

<!-- toc -->

- [fine](#fine)
- [About The Project](#about-the-project)
- [Installation](#installation)
- [Usage](#usage)
- [Arguments](#arguments)
- [Contributing](#contributing)
- [License](#license)
- [Contact](#contact)
- [About The Project](#about-the-project)
- [Installation](#installation)
- [Usage](#usage)
* [Arguments](#arguments)
- [Contributing](#contributing)
- [License](#license)
- [Contact](#contact)

<!-- tocstop -->

Expand Down Expand Up @@ -48,19 +47,19 @@ fine(
redis.disconnect,
() => {
// custom logic
return db.disconnect()
}
return db.disconnect();
},
]
);
```

### Arguments

| parameter | type | description | default |
| --------- | ------- | --------------------------------------------------------------------------- | ------- |
| opts | Object | Options object | {} |
| opts.timeout | Number | The time before exiting the process | 2000 |
| closeFunctions | function[] | Collection of callback for custom closing events, eg: db.disconnect() | |
| parameter | type | description | default |
| -------------- | ---------- | --------------------------------------------------------------------- | ------- |
| opts | Object | Options object | {} |
| opts.timeout | Number | The time before exiting the process | 2000 |
| closeFunctions | function[] | Collection of callback for custom closing events, eg: db.disconnect() | |

<!-- CONTRIBUTING -->

Expand Down

0 comments on commit f252a25

Please sign in to comment.