@@ -909,18 +909,15 @@ defmodule GenStage do
909909
910910 @ callback init ( args :: term ) ::
911911 { :producer , state }
912- | { :producer , state , { :continue , term } | :hibernate }
913912 | { :producer , state , [ producer_option ] }
914- | { :producer , state , { :continue , term } | :hibernate , [ producer_option ] }
913+ | { :producer , state , [ producer_option ] , { :continue , term } | :hibernate }
915914 | { :producer_consumer , state }
916- | { :producer_consumer , state , { :continue , term } | :hibernate }
917915 | { :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 }
920918 | { :consumer , state }
921- | { :consumer , state , { :continue , term } | :hibernate }
922919 | { :consumer , state , [ consumer_option ] }
923- | { :consumer , state , { :continue , term } | :hibernate , [ consumer_option ] }
920+ | { :consumer , state , [ consumer_option ] , { :continue , term } | :hibernate }
924921 | :ignore
925922 | { :stop , reason :: any }
926923 when state: any
0 commit comments