Skip to content

Commit 6a0646b

Browse files
armanbilgesjrd
andauthored
Fix import
Co-authored-by: Sébastien Doeraene <sjrdoeraene@gmail.com>
1 parent b28d377 commit 6a0646b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ libraryDependencies += "org.scala-js" %%% "scala-js-macrotask-executor" % "1.0.0
1313
Published for Scala 2.11, 2.12, 2.13, 3. Functionality is fully supported on all platforms supported by Scala.js (including web workers). In the event that a given platform does *not* have the necessary functionality to implement `setImmediate`-style yielding (usually `postMessage` is what is required), the implementation will transparently fall back to using `setTimeout`, which will drastically inhibit performance but remain otherwise functional.
1414

1515
```scala
16-
import org.Scala.js.macrotaskexecutor.MacrotaskExecutor.Implicits._
16+
import org.scalajs.macrotaskexecutor.MacrotaskExecutor.Implicits._
1717
```
1818

1919
You can also simply import `MacrotaskExecutor` if using the `ExecutionContext` directly.

0 commit comments

Comments
 (0)