Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

async / await requirement details

See original GitHub issue

Hello and thanks for this super useful project !

I don’t know if it’s the right place to open an issue about the browser build repository (crossbario/autobahn-js-browser) but since issues aren’t enabled on the project, I figured it had to be here.

The browser build embed number of polyfills, but it seems that it also have references to async / await that are not polyfilled and the browser support for this feature is relatively new and does not include IE at all.

I doubt it was done on purpose (= the async / await in the distributed build), especially when we consider that the code contains polyfill for IE 9.

But if that’s the case, if it’s meant to be, this should probably have been included in a major version (because it’s a breaking change) and not a minor version as it was the case (20.2.2 => 20.4.1) (at least if the project follow semver).

EDIT: This seems to concerns the unminified version only, the minified version does not seem to contain any reference to async / await.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

om26ercommented, Jul 6, 2020

As the time i’m writing, the package.json contain 4.2.6, but Node support Async / Await since Node … 7.10.1.

You are right, I will take care of that

oberstetcommented, Jul 6, 2020

yeah, AutobahnJS is using calver, not semver. but yes, we probably should:

Read more comments on GitHub >

github_iconTop Results From Across the Web

Async await in Swift explained with code examples - SwiftLee
Async await in Swift allows to write asynchronous tasks with structured concurrency. Maintain readability in complex code.
Read more >
Can I use async/await under iOS15.0? - Apple Developer
As I can see, all the async APIs in XCode13. 0 beta requires a deployment target of iOS 15.0, is that means that...
Read more >
Meet async/await in Swift - WWDC21 - Videos - Apple Developer
Swift now supports asynchronous functions — a pattern commonly known as async / await. Discover how the new syntax can make your code...
Read more >
Javascript Async Await function requirements - Stack Overflow
My task is to process multiple images using that function. The images must be processed consecutive (not parallel), this is important. I use...
Read more >
All you need to know about Async Await In JavaScript - Medium
When we append the keyword “async” to the function, this function returns the Promise by default on execution. Async keyword provides extra information...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found