@@ -885,18 +885,15 @@ defmodule GenStage do
885
885
886
886
@ callback init ( args :: term ) ::
887
887
{ :producer , state }
888
- | { :producer , state , { :continue , term } | :hibernate }
889
888
| { :producer , state , [ producer_option ] }
890
- | { :producer , state , { :continue , term } | :hibernate , [ producer_option ] }
889
+ | { :producer , state , [ producer_option ] , { :continue , term } | :hibernate }
891
890
| { :producer_consumer , state }
892
- | { :producer_consumer , state , { :continue , term } | :hibernate }
893
891
| { :producer_consumer , state , [ producer_consumer_option ] }
894
- | { :producer_consumer , state , { :continue , term } | :hibernate ,
895
- [ producer_consumer_option ] }
892
+ | { :producer_consumer , state , [ producer_consumer_option ] ,
893
+ { :continue , term } | :hibernate }
896
894
| { :consumer , state }
897
- | { :consumer , state , { :continue , term } | :hibernate }
898
895
| { :consumer , state , [ consumer_option ] }
899
- | { :consumer , state , { :continue , term } | :hibernate , [ consumer_option ] }
896
+ | { :consumer , state , [ consumer_option ] , { :continue , term } | :hibernate }
900
897
| :ignore
901
898
| { :stop , reason :: any }
902
899
when state: any
0 commit comments