We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Node.start/2-3
1 parent eef6c3c commit 9d7c7c1Copy full SHA for 9d7c7c1
lib/elixir/lib/node.ex
@@ -78,8 +78,8 @@ defmodule Node do
78
end
79
80
# TODO: Deprecate me on Elixir v1.23
81
- def start(name, opts) when is_atom(opts) do
82
- :net_kernel.start([name, opts, 15000])
+ def start(name, type) when is_atom(type) do
+ :net_kernel.start([name, type, 15_000])
83
84
85
0 commit comments