QLoop /'kyoo•loop/ - n - Declarative asynchronous operation loops
QLAnchor
repeater timing (early/late)
Swift.Result
failures auto-route through error pathQLAnchor
supports echoing to repeaters, with optionalEchoFilters
- added parameters for including custom dispatch queue when creating segments
- moved convenience initializers back into main class (out of extension) due to swift compiler SIL bug.
- updated for swift 5
QLoopIteratingResettable
separated fromQLoopIterating
(avoids having to implement emptyreset()
functions on iterators that never reset.)
- added
bind(segment:)
toQLoop
- fixed dispatch bug in
QLParallelSegment
QLoop
upgradesonFinal
is now a thing ( called the same way as onChange, except only on final iteration )
QLAnchor
upgrades- default output and error sent on main thread (can be overriden if necessary)
QLParallelSegment
upgrades- guarantees async dispatch of operations
- more reliable operation completion handling
QLSerialSegment
upgrades- now can assign dispatch queue
- guarantees async dispatch of operation
- renaming and simplified interfaces
QLParallelSegment
upgrades- supports assignment of dispatch queues per
operationId
- thread safety around operation runs
- operations can now output any type
- simpler
combiner
no longer requires intermediate type
- supports assignment of dispatch queues per
- initial alpha testing release
- cleaner testing support