Delimited Continuations are all you need

Описание к видео Delimited Continuations are all you need

This talk is about a concept called "Delimited Continuations". This is definitely a quite advanced topic that will test your knowledge of TypeScript generators (including async generators!). By using delimited continuations, developers can more easily manage asynchronous tasks and ensure that tasks are executed in a predictable and coordinated way. This gets you a more reliable and responsive app (with an improved user experience, too).

You can find the slides for this talk here: https://github.com/neurosnap/deck-con...

00:00:00 intro
00:01:46 what is "flow control"
00:02:13 what is "async flow control"
00:03:01 why are nested callbacks bad?
00:05:50 downsides of async/await
00:06:44 what color is your function?
00:08:06 async/await forces your entire program to be async
00:09:10 questions raised by using promises
00:11:41 what are delimited continuations
00:13:27 TypeScript support for yield delegates
00:14:51 code example: sync
00:17:31 code example: async
00:19:52 code example: composition
00:21:22 why does this need generators
00:26:06 code example: counter
00:27:26 npm: effection
00:29:47 discord
00:30:08 jake archibald article
00:32:14 npm package: starfx
00:36:06 bUt PeOpLe HaTe GeNeRaToRs
00:41:06 reimplementing redux-saga in a fraction of the code
00:44:30 footguns with try/catch/finally
00:46:01 what does the stack trace look like?
00:47:26 does it get confusing when you do/don't need to await?
00:48:50 how well is TypeScript supported?
00:49:41 multithread?
00:51:49 what about testing?
00:53:58 TypeScript proposal for `throws`
00:55:31 batteries included for testing?
00:58:55 query and cache management
01:00:42 how does this compare to redux and zustand
01:04:29 shout-outs

Discord:   / discord  
Twitter:   / mitypescript  
Mastodon: https://fosstodon.org/@MichiganTypeSc...
Instagram:   / michigantypescript  
TikTok:   / michigantypescript  

Комментарии

Информация по комментариям в разработке