I had not realised how awesome yield-style generators (Python, C#) are in combinations with promises. https://www.promisejs.org/generators/
-
-
@avibryant interesting. So basically for and yield. I'll read up on it.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@avibryant And here's the docs: http://docs.scala-lang.org/tutorials/FAQ/yield.html … On the surface it seems less powerful than ES6 yield+promises. -
@tirsen@avibryant Future in Scala is a monad and can be used in a for/yield comprehension.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.