Uses plain definitions.
This commit is contained in:
parent
2a590586d1
commit
421e6a3833
|
@ -23,7 +23,7 @@ public typealias Closure8I<I1,I2,I3,I4,I5,I6,I7, I8, O> = (I1, I2, I3, I4, I5, I
|
|||
Functions that can return an instacne of some type.
|
||||
*/
|
||||
|
||||
public typealias Producer<T> = Closure<SideEffect, T>
|
||||
public typealias Producer<T> = () -> T
|
||||
|
||||
// MARK: Async
|
||||
|
||||
|
@ -37,4 +37,4 @@ public typealias AsyncClosure7I<I1,I2,I3,I4,I5,I6,I7, O> = (I1, I2, I3, I4,
|
|||
public typealias AsyncClosure8I<I1,I2,I3,I4,I5,I6,I7, I8, O> = (I1, I2, I3, I4, I5, I6, I7, I8) async -> O
|
||||
|
||||
/// Asynchronus function returning some value.
|
||||
public typealias AsyncProducer<T> = AsyncClosure<SideEffect, T>
|
||||
public typealias AsyncProducer<T> = () async -> T
|
||||
|
|
Loading…
Reference in New Issue