git ssb

0+

Kira / %V53yIAO6ZNGv1Lx9tCP…



forked from cel / ssb-issues

Commit c71a980e347ca450e31d2edd03ce812e22a8304e

Document deinit

Charles Lehner committed on 9/20/2016, 1:57:57 AM
Parent: 7880a84c53be4a312a09ca7cb7d1ac5bafc76d23

Files changed

README.mdchanged
README.mdView
@@ -159,9 +159,18 @@
159159 - `mention` (object?): mention object, with properties like
160160 - `mention.open` (boolean?): whether the issue is updated to be open (true),
161161 closed (false), or not (null)
162162
163+#### deinit: async
163164
165+Deinit the issues object. Closes all live streams. Since `issues` uses live
166+streams, you should call `deinit` when you are done with the issues and want
167+your program to exit or free up resources.
168+
169+```js
170+pulls.deinit(cb)
171+```
172+
164173 ### schemas
165174
166175 ```js
167176 var issueSchemas = Issues.schemas

Built with git-ssb-web