@@ -314,31 +314,22 @@ extension ValueObservation {
314
314
{ preconditionFailure ( ) }
315
315
316
316
@available ( * , unavailable, message: " combine is no longer available. See the \" Migrating From GRDB 4 to GRDB 5 \" guide. " )
317
- public func combine<
318
- R1: _ValueReducer ,
319
- Combined> (
317
+ public func combine< R1, Combined> (
320
318
_ other: ValueObservation < R1 > ,
321
319
_ transform: @escaping ( Reducer . Value , R1 . Value ) -> Combined )
322
320
-> ValueObservation < ValueReducers . Unavailable < Combined > >
323
321
{ preconditionFailure ( ) }
324
322
325
323
@available ( * , unavailable, message: " combine is no longer available. See the \" Migrating From GRDB 4 to GRDB 5 \" guide. " )
326
- public func combine<
327
- R1: _ValueReducer ,
328
- R2: _ValueReducer ,
329
- Combined> (
324
+ public func combine< R1, R2, Combined> (
330
325
_ observation1: ValueObservation < R1 > ,
331
326
_ observation2: ValueObservation < R2 > ,
332
327
_ transform: @escaping ( Reducer . Value , R1 . Value , R2 . Value ) -> Combined )
333
328
-> ValueObservation < ValueReducers . Unavailable < Combined > >
334
329
{ preconditionFailure ( ) }
335
330
336
331
@available ( * , unavailable, message: " combine is no longer available. See the \" Migrating From GRDB 4 to GRDB 5 \" guide. " )
337
- public func combine<
338
- R1: _ValueReducer ,
339
- R2: _ValueReducer ,
340
- R3: _ValueReducer ,
341
- Combined> (
332
+ public func combine< R1, R2, R3, Combined> (
342
333
_ observation1: ValueObservation < R1 > ,
343
334
_ observation2: ValueObservation < R2 > ,
344
335
_ observation3: ValueObservation < R3 > ,
@@ -347,12 +338,7 @@ extension ValueObservation {
347
338
{ preconditionFailure ( ) }
348
339
349
340
@available ( * , unavailable, message: " combine is no longer available. See the \" Migrating From GRDB 4 to GRDB 5 \" guide. " )
350
- public func combine<
351
- R1: _ValueReducer ,
352
- R2: _ValueReducer ,
353
- R3: _ValueReducer ,
354
- R4: _ValueReducer ,
355
- Combined> (
341
+ public func combine< R1, R2, R3, R4, Combined> (
356
342
_ observation1: ValueObservation < R1 > ,
357
343
_ observation2: ValueObservation < R2 > ,
358
344
_ observation3: ValueObservation < R3 > ,
@@ -374,31 +360,22 @@ extension ValueObservation {
374
360
375
361
extension ValueObservation where Reducer == ValueReducers . Auto {
376
362
@available ( * , unavailable, message: " combine is no longer available. See the \" Migrating From GRDB 4 to GRDB 5 \" guide. " )
377
- public static func combine<
378
- R1: _ValueReducer ,
379
- R2: _ValueReducer > (
363
+ public static func combine< R1, R2> (
380
364
_ o1: ValueObservation < R1 > ,
381
365
_ o2: ValueObservation < R2 > )
382
366
-> ValueObservation < ValueReducers . Unavailable < ( R1 . Value , R2 . Value ) > >
383
367
{ preconditionFailure ( ) }
384
368
385
369
@available ( * , unavailable, message: " combine is no longer available. See the \" Migrating From GRDB 4 to GRDB 5 \" guide. " )
386
- public static func combine<
387
- R1: _ValueReducer ,
388
- R2: _ValueReducer ,
389
- R3: _ValueReducer > (
370
+ public static func combine< R1, R2, R3> (
390
371
_ o1: ValueObservation < R1 > ,
391
372
_ o2: ValueObservation < R2 > ,
392
373
_ o3: ValueObservation < R3 > )
393
374
-> ValueObservation < ValueReducers . Unavailable < ( R1 . Value , R2 . Value , R3 . Value ) > >
394
375
{ preconditionFailure ( ) }
395
376
396
377
@available ( * , unavailable, message: " combine is no longer available. See the \" Migrating From GRDB 4 to GRDB 5 \" guide. " )
397
- public static func combine<
398
- R1: _ValueReducer ,
399
- R2: _ValueReducer ,
400
- R3: _ValueReducer ,
401
- R4: _ValueReducer > (
378
+ public static func combine< R1, R2, R3, R4> (
402
379
_ o1: ValueObservation < R1 > ,
403
380
_ o2: ValueObservation < R2 > ,
404
381
_ o3: ValueObservation < R3 > ,
@@ -407,12 +384,7 @@ extension ValueObservation where Reducer == ValueReducers.Auto {
407
384
{ preconditionFailure ( ) }
408
385
409
386
@available ( * , unavailable, message: " combine is no longer available. See the \" Migrating From GRDB 4 to GRDB 5 \" guide. " )
410
- public static func combine<
411
- R1: _ValueReducer ,
412
- R2: _ValueReducer ,
413
- R3: _ValueReducer ,
414
- R4: _ValueReducer ,
415
- R5: _ValueReducer > (
387
+ public static func combine< R1, R2, R3, R4, R5> (
416
388
_ o1: ValueObservation < R1 > ,
417
389
_ o2: ValueObservation < R2 > ,
418
390
_ o3: ValueObservation < R3 > ,
@@ -422,13 +394,7 @@ extension ValueObservation where Reducer == ValueReducers.Auto {
422
394
{ preconditionFailure ( ) }
423
395
424
396
@available ( * , unavailable, message: " combine is no longer available. See the \" Migrating From GRDB 4 to GRDB 5 \" guide. " )
425
- public static func combine<
426
- R1: _ValueReducer ,
427
- R2: _ValueReducer ,
428
- R3: _ValueReducer ,
429
- R4: _ValueReducer ,
430
- R5: _ValueReducer ,
431
- R6: _ValueReducer > (
397
+ public static func combine< R1, R2, R3, R4, R5, R6> (
432
398
_ o1: ValueObservation < R1 > ,
433
399
_ o2: ValueObservation < R2 > ,
434
400
_ o3: ValueObservation < R3 > ,
@@ -439,14 +405,7 @@ extension ValueObservation where Reducer == ValueReducers.Auto {
439
405
{ preconditionFailure ( ) }
440
406
441
407
@available ( * , unavailable, message: " combine is no longer available. See the \" Migrating From GRDB 4 to GRDB 5 \" guide. " )
442
- public static func combine<
443
- R1: _ValueReducer ,
444
- R2: _ValueReducer ,
445
- R3: _ValueReducer ,
446
- R4: _ValueReducer ,
447
- R5: _ValueReducer ,
448
- R6: _ValueReducer ,
449
- R7: _ValueReducer > (
408
+ public static func combine< R1, R2, R3, R4, R5, R6, R7> (
450
409
_ o1: ValueObservation < R1 > ,
451
410
_ o2: ValueObservation < R2 > ,
452
411
_ o3: ValueObservation < R3 > ,
@@ -458,15 +417,7 @@ extension ValueObservation where Reducer == ValueReducers.Auto {
458
417
{ preconditionFailure ( ) }
459
418
460
419
@available ( * , unavailable, message: " combine is no longer available. See the \" Migrating From GRDB 4 to GRDB 5 \" guide. " )
461
- public static func combine<
462
- R1: _ValueReducer ,
463
- R2: _ValueReducer ,
464
- R3: _ValueReducer ,
465
- R4: _ValueReducer ,
466
- R5: _ValueReducer ,
467
- R6: _ValueReducer ,
468
- R7: _ValueReducer ,
469
- R8: _ValueReducer > (
420
+ public static func combine< R1, R2, R3, R4, R5, R6, R7, R8> (
470
421
_ o1: ValueObservation < R1 > ,
471
422
_ o2: ValueObservation < R2 > ,
472
423
_ o3: ValueObservation < R3 > ,
0 commit comments