Skip to content

Problem synchronous Widget #14024

Answered by msujew
AlaHajBrahim asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @AlaHajBrahim,

the @postConstruct() decorated method is not allowed to return a promise. As far as I can tell, your init() method isn't actually async - you can just make it return void and remove the async modifier to fix this.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@AlaHajBrahim
Comment options

Answer selected by AlaHajBrahim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants