Skip to content

Commit d0df410

Browse files
authored
Improve callable function for long running requests. (#1635)
* Implement heartbeat and abort signal. * Add heartbeat test. * Update sinon.js to get clock.tickAsync() * Fix tests. * Finishing touches. * Fix formatting issues. * Only send heartbeat when data hasn't been written in the given interval. * Fix bugs. * Fix test. * Formatting. * Misc. formatting
1 parent 0629d26 commit d0df410

File tree

7 files changed

+302
-120
lines changed

7 files changed

+302
-120
lines changed

package-lock.json

+53-83
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@
287287
"@types/nock": "^10.0.3",
288288
"@types/node": "^14.18.24",
289289
"@types/node-fetch": "^3.0.3",
290-
"@types/sinon": "^7.0.13",
290+
"@types/sinon": "^9.0.11",
291291
"@typescript-eslint/eslint-plugin": "^5.33.1",
292292
"@typescript-eslint/parser": "^5.33.1",
293293
"api-extractor-model-me": "^0.1.1",
@@ -313,7 +313,7 @@
313313
"prettier": "^2.7.1",
314314
"protobufjs-cli": "^1.1.1",
315315
"semver": "^7.3.5",
316-
"sinon": "^7.3.2",
316+
"sinon": "^9.2.4",
317317
"ts-node": "^10.4.0",
318318
"typescript": "^4.3.5",
319319
"yargs": "^15.3.1"

0 commit comments

Comments
 (0)