@@ -9,8 +9,8 @@ public class Handler<Input> {
99
1010 internal init ( ) { }
1111
12- public init ( handler : ( ( Input ) -> Void ) ? ) {
13- self . action = handler
12+ public init ( action : ( ( Input ) -> Void ) ? ) {
13+ self . action = action
1414 }
1515
1616 public mutating func callAsFunction( action: ( ( Input ) -> Void ) ? ) {
@@ -79,8 +79,8 @@ public class Handler2<T0, T1> {
7979
8080 internal init ( ) { }
8181
82- public init ( handler : ( ( T0 , T1 ) -> Void ) ? ) {
83- self . action = handler
82+ public init ( action : ( ( T0 , T1 ) -> Void ) ? ) {
83+ self . action = action
8484 }
8585
8686 public mutating func callAsFunction( action: ( ( T0 , T1 ) -> Void ) ? ) {
@@ -147,8 +147,8 @@ public class Handler3<T0, T1, T2> {
147147
148148 internal init ( ) { }
149149
150- public init ( handler : ( ( T0 , T1 , T2 ) -> Void ) ? ) {
151- self . action = handler
150+ public init ( action : ( ( T0 , T1 , T2 ) -> Void ) ? ) {
151+ self . action = action
152152 }
153153
154154 public mutating func callAsFunction( action: ( ( T0 , T1 , T2 ) -> Void ) ? ) {
@@ -215,8 +215,8 @@ public class Handler4<T0, T1, T2, T3> {
215215
216216 internal init ( ) { }
217217
218- public init ( handler : ( ( T0 , T1 , T2 , T3 ) -> Void ) ? ) {
219- self . action = handler
218+ public init ( action : ( ( T0 , T1 , T2 , T3 ) -> Void ) ? ) {
219+ self . action = action
220220 }
221221
222222 public mutating func callAsFunction( action: ( ( T0 , T1 , T2 , T3 ) -> Void ) ? ) {
@@ -283,8 +283,8 @@ public class Handler5<T0, T1, T2, T3, T4> {
283283
284284 internal init ( ) { }
285285
286- public init ( handler : ( ( T0 , T1 , T2 , T3 , T4 ) -> Void ) ? ) {
287- self . action = handler
286+ public init ( action : ( ( T0 , T1 , T2 , T3 , T4 ) -> Void ) ? ) {
287+ self . action = action
288288 }
289289
290290 public mutating func callAsFunction( action: ( ( T0 , T1 , T2 , T3 , T4 ) -> Void ) ? ) {
0 commit comments