Is there a short syntax in javascript for a call chain containing synchronous and asynchronous methods of the same class?
I know of 2 ways that are not very convenient and look inelegant:
I know of 2 ways that are not very convenient and look inelegant: