It’s likely that all property reads and many writes will be done without promises. We can “split” the API into promise and non-promise based further up in the chain, to something like the following:
The only problem with the above is that async implies that non-Promise accesses are performed synchronously (really, they are queued onto a background thread like everything else).
It’s likely that all property reads and many writes will be done without promises. We can “split” the API into promise and non-promise based further up in the chain, to something like the following:
The only problem with the above is that
async
implies that non-Promise accesses are performed synchronously (really, they are queued onto a background thread like everything else).