Skip to content

Version 0.2.0

Compare
Choose a tag to compare
@0xLeif 0xLeif released this 13 Aug 22:31
· 21 commits to main since this release
9fce265

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.