Uses plain definitions.

This commit is contained in:
Edward Maliniak 2022-08-13 12:02:18 +02:00
parent 2a590586d1
commit 421e6a3833
1 changed files with 2 additions and 2 deletions

View File

@ -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