Skip to content

Commit

Permalink
docs: Missing destroy method (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsLando authored Feb 21, 2020
1 parent 7a4ff84 commit fb56039
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ npm install aedes-persistence --save
* <a href="#delWill"><code>instance.<b>delWill()</b></code></a>
* <a href="#streamWill"><code>instance.<b>streamWill()</b></code></a>
* <a href="#getClientList"><code>instance.<b>getClientList()</b></code></a>
* <a href="#destroy"><code>instance.<b>destroy()</b></code></a>

-------------------------------------------------------
<a name="constructor"></a>
Expand Down Expand Up @@ -251,6 +252,11 @@ format:
Returns a stream which has all the clientIds subscribed to the
specified topic

<a name="destroy"></a>
### instance.destroy(cb(err))

Destroy current persistence. Use callback `cb(err)` to catch errors if any

<a name="implement"></a>
## Implement another persistence

Expand Down

0 comments on commit fb56039

Please sign in to comment.