From b80cdf35701a111a7bfe980990b7618ed59cab14 Mon Sep 17 00:00:00 2001 From: Andrew MacMurray Date: Sun, 17 Dec 2023 13:12:54 +0000 Subject: [PATCH] Adds note about import / require --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 892051b..7933adb 100644 --- a/README.md +++ b/README.md @@ -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"; @@ -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: