Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upOnly one input port can be created. #758
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
process-bot
Nov 21, 2016
Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it!
Here is what to expect next, and if anyone wants to comment, keep these things in mind.
process-bot
commented
Nov 21, 2016
|
Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it! Here is what to expect next, and if anyone wants to comment, keep these things in mind. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
Pilatch
Nov 21, 2016
Versions:
elm -v
0.18.0
elm-make -v
elm-make 0.18 (Elm Platform 0.18.0)
node -v
v6.3.0
OSX 10.11.6
Pilatch
commented
Nov 21, 2016
|
Versions: elm -v elm-make -v node -v OSX 10.11.6 |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
Pilatch
commented
Nov 21, 2016
|
I'm an idiot. NO BUG! |
Pilatch
closed this
Nov 21, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Pilatch commentedNov 21, 2016
•
edited by lukewestby
Edited 1 time
-
lukewestby
edited Nov 21, 2016 (most recent)
Even if you create multiple input ports, and use Sub.batch to make multiple subscriptions, on the JavaScript side you still only have "input" on the worker object. To reproduce...
Greet.elm:
... compile that to elm.js and then run greeter.js in Node:
...and look at what's logged to the console. You'll see this:
Which shows that there's only the input port, even though Greet.elm does not define any port named input, and defines a total of three ports.