@@ -909,18 +909,15 @@ defmodule GenStage do
909
909
910
910
@ callback init ( args :: term ) ::
911
911
{ :producer , state }
912
- | { :producer , state , { :continue , term } | :hibernate }
913
912
| { :producer , state , [ producer_option ] }
914
- | { :producer , state , { :continue , term } | :hibernate , [ producer_option ] }
913
+ | { :producer , state , [ producer_option ] , { :continue , term } | :hibernate }
915
914
| { :producer_consumer , state }
916
- | { :producer_consumer , state , { :continue , term } | :hibernate }
917
915
| { :producer_consumer , state , [ producer_consumer_option ] }
918
- | { :producer_consumer , state , { :continue , term } | :hibernate ,
919
- [ producer_consumer_option ] }
916
+ | { :producer_consumer , state , [ producer_consumer_option ] ,
917
+ { :continue , term } | :hibernate }
920
918
| { :consumer , state }
921
- | { :consumer , state , { :continue , term } | :hibernate }
922
919
| { :consumer , state , [ consumer_option ] }
923
- | { :consumer , state , { :continue , term } | :hibernate , [ consumer_option ] }
920
+ | { :consumer , state , [ consumer_option ] , { :continue , term } | :hibernate }
924
921
| :ignore
925
922
| { :stop , reason :: any }
926
923
when state: any
0 commit comments