Skip to content

Conversation

@sjrd
Copy link
Member

@sjrd sjrd commented Sep 13, 2019

@sjrd sjrd requested a review from gzm0 September 13, 2019 13:58
## Using blocking APIs (e.g., `Await.result`)

The JavaScript platform does not support blocking at all.
Consequently, trying to use block APIs such `Await.result` is not supported, and will result in linking error.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

blocking?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

result in a linking error?

Do not use `scala.concurrent.Await`.


## Using unsupported JDK libraries (possibly transitively)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might be helpful to make an example of a transitive problem (e.g. trying to use scala.io)

@sjrd sjrd force-pushed the document-linking-errors branch from 1516033 to bcece72 Compare September 14, 2019 13:34
@sjrd
Copy link
Member Author

sjrd commented Sep 14, 2019

Updated.

Copy link
Contributor

@gzm0 gzm0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for taking the time to write this! I expect this to be helpful to many.

@gzm0 gzm0 merged commit 8d873ed into scala-js:master Sep 14, 2019
@sjrd sjrd deleted the document-linking-errors branch February 13, 2022 08:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants