code-server/src/node/routes
Joe Previte 88e971c609
refactor(heart): bind class methods and make beat async (#5142)
* feat: set up new test for beat twice

* refactor: make Heart.beat() async

This allows us to properly await heart.beat() in our tests and remove
the HACK I added before.

* refactor: bind heart methods .beat and .alive

This allows the functions to maintain access to the Heart instance (or
`this`) even when they are passed to other functions. We do this because
we pass both `isActive` and `beat` to `heartbeatTimer`.

* feat(heart): add test to ensure no warnings called

* fixup!: revert setTimeout for heartbeatTimer

* fixup!: return promise in beat
2022-05-04 16:05:48 -07:00
..
apps.ts plugin: Fixes for CI 2020-11-06 10:13:01 -05:00
domainProxy.ts Implement last opened functionality (#4633) 2021-12-17 13:06:52 -06:00
errors.ts Fix issue where 404 errors are mistaken for server errors. (#4534) 2021-11-19 18:14:13 -05:00
health.ts Fix health socket not getting client messages 2021-02-16 15:01:46 -06:00
index.ts refactor(heart): bind class methods and make beat async (#5142) 2022-05-04 16:05:48 -07:00
login.ts Fix relative paths (#4594) 2021-12-08 15:52:15 -06:00
logout.ts Fix relative paths (#4594) 2021-12-08 15:52:15 -06:00
pathProxy.ts Implement last opened functionality (#4633) 2021-12-17 13:06:52 -06:00
update.ts Implement last opened functionality (#4633) 2021-12-17 13:06:52 -06:00
vscode.ts chore: move to patches (#4997) 2022-03-22 15:07:14 -05:00