- How to stop in the middle of Generator Function?
pure function
in React Programming
Pure functions are functions that accept an input and returns a value without modifying any data outside its scope(Side Effects). Its output or return value must depend on the input/arguments and pure functions must return a value.
- Business Logic with Async Generator
If we compose two plain functions, the second function starts doing its job only after the first one exists. If they are generators, both functions run simultaneously.
https://effectful.js.org/1https://effectful.js.org/
-
Symbol.iterator
key & value↳ Iterator: object that has
.next()
[Symbol.iterator]()
-
– Pointer Events Polyfill: a unified event system for the web platform https://www.w3.org/TR/pointerevents/
-
Decouple Business Logic using Async Generators — 비동기 제너레이터를 사용해서 비지니스로직을 분리하기
-
Transducers: Efficient Data Processing Pipelines in JavaScript
-
Backtracking, Interleaving, and Terminating Monad Transformers — 논문
-
Homebrew React Hooks: useAsyncEffect Or How to Handle Async Operations with useEffect
-
Async Actions with Redux Sagas
References
↑1 | https://effectful.js.org/ |