Skip to content

Commit 69c46cb

Browse files
committed
Add JS/TS warnings to concurrent clients stage
1 parent 0aa8f85 commit 69c46cb

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

course-definition.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,22 @@ stages:
488488
description_md: |-
489489
In this stage, you'll add support for concurrent connections.
490490
491+
{{#lang_is_javascript}}
492+
In most languages, you'd need to either use threads or implement an
493+
[Event Loop](https://en.wikipedia.org/wiki/Event_loop) to do this. In JavaScript however, since [the concurrency
494+
model itself is based on an event loop](https://developer.mozilla.org/en-US/docs/Web/JavaScript/EventLoop), most
495+
standard library functions are designed to support this kind of concurrent behaviour out of the box. **It is very
496+
likely that the code you had for the previous stage will pass this stage without any changes!**
497+
{{/lang_is_javascript}}
498+
499+
{{#lang_is_typescript}}
500+
In most languages, you'd need to either use threads or implement an
501+
[Event Loop](https://en.wikipedia.org/wiki/Event_loop) to do this. In TypeScript however, since [the concurrency
502+
model itself is based on an event loop](https://developer.mozilla.org/en-US/docs/Web/JavaScript/EventLoop), most
503+
standard library functions are designed to support this kind of concurrent behaviour out of the box. **It is very
504+
likely that the code you had for the previous stage will pass this stage without any changes!**
505+
{{/lang_is_typescript}}
506+
491507
### Tests
492508
493509
The tester will execute your program like this:

0 commit comments

Comments
 (0)