@standardserver/peer
Advanced tools
+6
-5
@@ -602,6 +602,3 @@ import { AsyncIteratorClass, isTypescriptObject, isAsyncIteratorObject, Queue, SequentialIdGenerator, hasAnyDefinedValue, AbortError, stringifyJSON } from '@standardserver/shared'; | ||
| throw new Error("Cannot use hibernating iterator directly"); | ||
| }, async ({ kind }) => { | ||
| if (kind === "cancelled") { | ||
| throw new Error("Cannot use hibernating iterator directly"); | ||
| } | ||
| }, async () => { | ||
| }); | ||
@@ -682,3 +679,7 @@ this["~callback"] = callback; | ||
| if (response.body instanceof HibernationAsyncIteratorClass) { | ||
| await response.body["~callback"]?.(id); | ||
| try { | ||
| await response.body["~callback"]?.(id); | ||
| } finally { | ||
| await response.body.return(); | ||
| } | ||
| } else { | ||
@@ -685,0 +686,0 @@ const transmitter = new EventStreamTransmitter(response.body, id, this.send); |
+3
-3
| { | ||
| "name": "@standardserver/peer", | ||
| "type": "module", | ||
| "version": "0.6.0", | ||
| "version": "0.7.0", | ||
| "license": "MIT", | ||
@@ -25,4 +25,4 @@ "homepage": "https://standardserver.dev", | ||
| "dependencies": { | ||
| "@standardserver/core": "0.6.0", | ||
| "@standardserver/shared": "0.6.0" | ||
| "@standardserver/core": "0.7.0", | ||
| "@standardserver/shared": "0.7.0" | ||
| }, | ||
@@ -29,0 +29,0 @@ "scripts": { |
+3
-1
@@ -205,2 +205,3 @@ # @standardserver/peer | ||
| <td align="center"><a href="https://github.com/itigoore01?ref=orpc" target="_blank" rel="noopener" title="shota"><img src="https://avatars.githubusercontent.com/u/11831107?u=c976a6dc7e055eb026304c46c99100ed22b0c8e0&v=4" width="139" alt="shota"/><br />shota</a></td> | ||
| <td align="center"><a href="https://github.com/ellis-driscoll?ref=orpc" target="_blank" rel="noopener" title="Ellis Driscoll"><img src="https://avatars.githubusercontent.com/u/70685966?u=c5f95bc33b5991d9744abe00052542e4a2ed3cb9&v=4" width="139" alt="Ellis Driscoll"/><br />Ellis Driscoll</a></td> | ||
| </tr> | ||
@@ -231,4 +232,5 @@ </table> | ||
| <tr> | ||
| <td align="center"><a href="https://github.com/guyariely?ref=orpc" target="_blank" rel="noopener" title="Guy Ariely"><img src="https://avatars.githubusercontent.com/u/42813496?u=edb6b7f563bf28e160a290832e7da57c0506f8ca&v=4" width="119" alt="Guy Ariely"/><br />Guy Ariely</a></td> | ||
| <td align="center"><a href="https://github.com/piscis?ref=orpc" target="_blank" rel="noopener" title="Alex"><img src="https://avatars.githubusercontent.com/u/326163?u=b245f368bd940cf51d08c0b6bf55f8257f359437&v=4" width="119" alt="Alex"/><br />Alex</a></td> | ||
| <td align="center"><a href="https://github.com/finom?ref=orpc" target="_blank" rel="noopener" title="Andrey Gubanov"><img src="https://avatars.githubusercontent.com/u/1082083?u=29e91400dbd4a9c217048a8f59562c4f740498e6&v=4" width="119" alt="Andrey Gubanov"/><br />Andrey Gubanov</a></td> | ||
| <td align="center"><a href="https://github.com/finom?ref=orpc" target="_blank" rel="noopener" title="Andrey Gubanov"><img src="https://avatars.githubusercontent.com/u/1082083?u=c5f2daf7ebece498e85c83367bb37b4e10e2649d&v=4" width="119" alt="Andrey Gubanov"/><br />Andrey Gubanov</a></td> | ||
| </tr> | ||
@@ -235,0 +237,0 @@ </table> |
75899
0.75%1054
0.09%279
0.72%+ Added
+ Added
- Removed
- Removed
Updated
Updated