John Spackman
John Spackman
> A sync setter's apply is expected to be synchronous, traditionally. Well, maybe but you could also say that was before async was supported at all. If you force it...
In this bit: ``` // What is this doing???? Nothing, I think... if (tracker.promise) { tracker.promise.then(() => value); } // ^^^^^^^^^^^^^^^^^^^^^^ ``` What it is doing is ignoring the accumulated...
I havn't tested this, but I've had a good go at getting it there; the key thing is that you never explicitly create promises, you relay on apply/fireEvent to do...
PS I changed a few names to make more sense to me as I was writing it, feel free to change them/back etc
`getPropertySetCompletePromise` is the implementation of whatever function you wanted to make available so that the user can find out if a given property is currently being set, either synchronously or...
Personally I would just have the one implementation. The other version can't be that much simpler than the one above can it? I see no harm in setXxx returning a...
Ditch yargs. I have a replacement, I'll try and get it out later this week
The CLI code is available here: https://github.com/johnspackman/zen-cms/tree/master/source/class/zx/cli
I suspect that a compatibility API could be scrubbed together to make the existing yargs configuration translate. There are things that yargs cannot do (and i've tried a few others...
Actually +1 for a general, non-UI virtual framework to go behind something like this - we've discussed it somewhere before, but it would be great for a class derived from...