File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -646,7 +646,7 @@ defmodule GenStage do
646
646
defined module to be put under a supervision tree in Elixir v1.5+.
647
647
The generated `child_spec/1` can be customized with the following options:
648
648
649
- * `:id` - the child specification id, defauts to the current module
649
+ * `:id` - the child specification id, defaults to the current module
650
650
* `:start` - how to start the child process (defaults to calling `__MODULE__.start_link/1`)
651
651
* `:restart` - when the child should be restarted, defaults to `:permanent`
652
652
* `:shutdown` - how to shut down the child
@@ -1576,7 +1576,7 @@ defmodule GenStage do
1576
1576
the enumerable stage and the `:cancel` option is set to
1577
1577
`:permanent`, which is the default, the consumer will also exit
1578
1578
with `:normal` reason. This behaviour can be changed by setting
1579
- setting the `:cancel` option to either `:transient` or `:temporary`
1579
+ the `:cancel` option to either `:transient` or `:temporary`
1580
1580
at the moment of subscription as described in the `sync_subscribe/3`
1581
1581
docs.
1582
1582
You can’t perform that action at this time.
0 commit comments