Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

PromiseQueue not being processed #14

Closed
blutorange opened this issue Nov 11, 2019 · 1 comment
Closed

PromiseQueue not being processed #14

blutorange opened this issue Nov 11, 2019 · 1 comment
Assignees

Comments

@blutorange
Copy link
Owner

Sometimes a promise that was added to the promsie is queue is never resolved, resulting in no new instances getting initialized.

https://github.com/blutorange/primefaces-monaco/blob/master/src/main/js/widget.js

@blutorange blutorange self-assigned this Nov 11, 2019
@blutorange
Copy link
Owner Author

The promises added to the queue are resolved once the editor is rendered - and since the editor is a deferred widget that is rendered only when its container becomes visible, the queue waits for all initially queue editors to get ready.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant