Version 0.2.0
Updated do
and main
to take in a closure that can throw and error.
func `do`<T>(withDelay delay: UInt32 = 0,
work: @escaping () throws -> T) -> LaterValue<T>
func `do`(withDelay delay: UInt32 = 0,
work: @escaping () throws -> Void) -> LaterValue<Void>
func main(withDelay delay: UInt32 = 0,
work: @escaping () throws -> Void) -> LaterValue<Void>
Calls that provide a failure response
- do
- main
- post
Later/ Tests now support Linux.