Skip to content

Commit

Permalink
Adds note about import / require
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewMacmurray committed Dec 17, 2023
1 parent 2b7f7c3 commit b80cdf3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ main =

### 3. Register the runner in your JavaScript/TypeScript app

Connect the runner to your Elm app:
Connect the runner to your Elm app (the runner supports both `import` and `require` syntax):

```ts
import * as ConcurrentTask from "@andrewmacmurray/elm-concurrent-task";
Expand Down Expand Up @@ -373,7 +373,6 @@ Each `send` and `receive` port pair only support **one** `ConcurrentTask.Pool` s

Generally this should not be needed, but if you have a use-case, please leave an [issue](https://github.com/andrewMacmurray/elm-concurrent-task/issues).


## Develop Locally

Install Dependencies:
Expand Down

0 comments on commit b80cdf3

Please sign in to comment.