model-element icon indicating copy to clipboard operation
model-element copied to clipboard

Almost everything is `promise` based

Open cabanier opened this issue 3 years ago • 2 comments

Is it necessary that every method and attribute returns a promise?

cabanier avatar Jul 25 '22 16:07 cabanier

As I draft the spec, I'll review review each on a case by case basis. However, as stated in the explainer:

Note the use of promises since it is likely that the model is rendered out-of-process and any communication with that process would need to be asynchronous. This applies to other promise-based APIs discussed in this document

but will check if there are calls that don't need them.

marcoscaceres avatar Jul 26 '22 01:07 marcoscaceres