@livequery/rpc 2.0.75 → 2.0.78
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -117,7 +117,7 @@ type RpcMessage = {
|
|
|
117
117
|
method: string[]
|
|
118
118
|
args: any[]
|
|
119
119
|
}
|
|
120
|
-
cancel?:
|
|
120
|
+
cancel?: { id: number }
|
|
121
121
|
response?: Partial<{
|
|
122
122
|
data: any
|
|
123
123
|
error: string
|
|
@@ -262,7 +262,7 @@ Notes:
|
|
|
262
262
|
If a client unsubscribes from an in-flight call, `ServiceLinker` sends:
|
|
263
263
|
|
|
264
264
|
```ts
|
|
265
|
-
{ id, cancel:
|
|
265
|
+
{ id: 0, cancel: { id } }
|
|
266
266
|
```
|
|
267
267
|
|
|
268
268
|
`WorkerManager` listens for that id and stops streaming output for matching Observable calls.
|