git ssb

0+

cel / ssb-pull-requests



Commit f210e08c7d20d3cb4aadebb387ce5c2d1ed3f939

Add deinit method

Charles Lehner committed on 9/20/2016, 1:52:22 AM
Parent: d325d29bb44efcd78a0d9bd1efb5369324262a49

Files changed

README.mdchanged
index.jschanged
package.jsonchanged
README.mdView
@@ -91,8 +91,16 @@
9191 ```
9292
9393 - `mergeable`: whether the pull request can be automatically merged
9494
95 +#### deinit: async
96 +
97 +Deinit `pulls`. Closes all live streams.
98 +
99 +```js
100 +pulls.deinit(cb)
101 +```
102 +
95103 ## Schemas
96104
97105 ```js
98106 var prSchemas = Pulls.schemas
index.jsView
@@ -112,8 +112,9 @@
112112 )
113113 }
114114
115115 return {
116 + deinit: issues.deinit,
116117 get: getPullReq,
117118 getRevs: getRevs,
118119 list: listPullReqs
119120 }
package.jsonView
@@ -6,9 +6,9 @@
66 "homepage": "http://git-ssb.celehner.com/%254aw2wDMB07FH03P6EAHT1Q5x4TZ8mRS7j9%2FOLAcj%2FNw%3D.sha256",
77 "bugs": "http://git-ssb.celehner.com/%254aw2wDMB07FH03P6EAHT1Q5x4TZ8mRS7j9%2FOLAcj%2FNw%3D.sha256/issues",
88 "dependencies": {
99 "asyncmemo": "^0.1.0",
10- "ssb-issues": "^0.2.0",
10 + "ssb-issues": "^0.2.1",
1111 "pull-paramap": "^1.1.2",
1212 "pull-stream": "^3.2.0",
1313 "ssb-ref": "^2.3.0"
1414 },

Built with git-ssb-web