Naming fix

This commit is contained in:
Pavel Lukandiy 2019-03-19 15:33:49 +05:00
parent 6556d8368b
commit 2df2979d8f
1 changed files with 2 additions and 2 deletions

View File

@ -24,13 +24,13 @@
public typealias Closure<Input, Output> = (Input) -> Output
/// Closure with no arguments and custom return value.
public typealias ResultBlock<Output> = () -> Output
public typealias ResultClosure<Output> = () -> Output
/// Closure that takes custom arguments and returns Void.
public typealias ParameterClosure<Input> = Closure<Input, Void>
/// Closure that takes no arguments and returns Void.
public typealias VoidBlock = () -> Void
public typealias VoidBlock = ResultClosure<Void>
/// Closure with custom arguments and return value, may throw an error.
public typealias ThrowableClosure<Input, Output> = (Input) throws -> Output