Kyle walks through the solution to exercise 9.
(Intro Music)…- [Instructor] CSP, probably for several of you…a bit brain bending.…Still brain bending for me and I've been at this…for a while and so.…That's okay.…Don't run away from those things…that twist your brain a bit.…My instinct is, when I see something that is…twisting my brain and I'm not really sure I understand it.…That's the thing I run towards.…Cause I feel like there's probably something that I'm…missing and it's probably really, really powerful…and really, really useful.…So.…I encourage you to embrace that.…
Rather than fully...…Fully develop this solution for you from scratch.…I'm going to switch over to the fixed version…and then just walk you through the different pieces…and why they're there.…Partly that's just not to overwhelm you so much.…(laughs)…And part of it is to save time so we can get on to…our last exercise.…Alright, so what I'm first doing here.…This should look familiar from the reactive solution.…
I'm setting up a channel for each…of the clicks and messages.…So I'm going to use channels from my communication.…
Author
Released
5/19/2017Note: This course was created by Frontend Masters. It was originally released on 3/29/2016. We're pleased to host this training in our library.
- Parallel and asynchronous code
- Working with callbacks
- Using thunks
- Exploring promise flow control
- Abstractions, sequences, and gates
- Generators
- Messaging
- Observables, events, and sequences
- CSP
- Blocking channels
Skill Level Intermediate
Duration
Views
Related Courses
-
Learning ECMAScript 6
with Eve Porcello2h 4m Beginner -
Building Web Applications with Ajax
with Sasha Vodnik1h 31m Intermediate -
Learning Functional Programming with JavaScript
with Shaun Wassell59m 23s Intermediate
-
1. Parallel vs. Async
-
Course introduction12m 26s
-
Concurrency8m 13s
-
-
2. Callback
-
Callback misery4m 37s
-
Exercise 14m 37s
-
Exercise 1: Solution12m 3s
-
Non fixes4m 27s
-
-
3. Thunks
-
Exercise 22m 41s
-
Exercise 2 solution12m 15s
-
Thunks and closure5m 38s
-
4. Promises
-
Native promises7m 22s
-
Promise api9m 46s
-
Promise flow control7m 3s
-
Exercise 31m 30s
-
Exercise 3 solution8m 47s
-
Exercise 3 questions, part 19m 43s
-
Exercise 3 questions, part 210m 52s
-
Exercise 43m 5s
-
Exercise 4 solution11m 15s
-
Abstractions8m 56s
-
Sequences and gates7m 25s
-
Exercise 5 and 61m 12s
-
Exercise 5: Solution9m 41s
-
Exercise 6: Solution12m 32s
-
-
5. Generators
-
Generator example8m 54s
-
Messaging9m 41s
-
Messaging questions9m 32s
-
Async generators10m 25s
-
Promises and generators13m 2s
-
Exercise 758s
-
Exercise 7: Solution9m 22s
-
Quiz3m 55s
-
-
6. Observables
-
Events and promises5m 34s
-
Observables12m 43s
-
Reactive sequences10m 51s
-
Exercise 82m 10s
-
Exercise 8: Solution, part 112m 15s
-
-
7. CSP
-
Concurrency and channels12m 23s
-
Blocking channels8m 35s
-
Event channels5m 43s
-
Exercise 936s
-
Exercise 9: Solution12m 38s
-
Recap8m 13s
-
Exercise 102m 11s
-
Wrap-up2m 11s
-
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Exercise 9: Solution