I think it’s worth mentioning in this article that you normally would never implement an iterator manually — you would use a generator. Iterators and generators are tightly coupled concepts, but they are hard to grasp (I still feel like I’m learning new things about them), so I appreciate separating them and explaining them independently though 👍.
Depends on what you want to do with those two fields… But first, this is how you get down to each item in the Tasks array:
From there, let’s say you want to output each task in this format: “<Name>: <ExecutionStatus>”, you could:
jq '.Tasks | .Name + " - " +…
I don’t think 10 months is too long of a time, personally. The core Electron module APIs that it uses haven’t changed, so it seems alright. I’m not aware of any alternatives offhand.
electron-remote and Electron’s remote module are for different use cases, which one you use depends on what your use case is.
Is there an example of this that you can point me to? FastDOM does some scheduling but doesn’t seem to do anything like distribute callbacks among frames if needed. Just wondering if there’s something out there like that or if most apps are cool with just firing off rAFs without any kind of intelligent scheduler.