* First pass at some documentation for AsyncChannel
* Apply suggestions from code review
Co-authored-by: Chris Adamson <invalidname@gmail.com>
* Manually line break docs
Co-authored-by: Chris Adamson <invalidname@gmail.com>
* First pass at some documentation for AsyncBufferSequence
* Apply suggestions from code review
Co-authored-by: Chris Adamson <invalidname@gmail.com>
Co-authored-by: Chris Adamson <invalidname@gmail.com>
* slight adjustments to make docc rendering of AsyncBufferedByteIterator documentation nicer
* Apply suggestions from code review
Co-authored-by: Chris Adamson <invalidname@gmail.com>
Co-authored-by: Chris Adamson <invalidname@gmail.com>
* Rebase guides WIP to avoid source changes
* Add prose for debounce and throttle
* Add an alterantive for debounce
* Starts to prose for reductions
* Add effect listings for all types
* Add some examples for reductions
* Update Guides/Channel.md
Co-authored-by: Chris Adamson <invalidname@gmail.com>
* Update Guides/Channel.md
Co-authored-by: Chris Adamson <invalidname@gmail.com>
* Update Guides/Channel.md
Co-authored-by: Chris Adamson <invalidname@gmail.com>
* Update Guides/Channel.md
Co-authored-by: Chris Adamson <invalidname@gmail.com>
* Update Guides/Collections.md
Co-authored-by: Chris Adamson <invalidname@gmail.com>
* Update Guides/Throttle.md
Co-authored-by: Chris Adamson <invalidname@gmail.com>
* Update Guides/Throttle.md
Co-authored-by: Chris Adamson <invalidname@gmail.com>
* Update Guides/Throttle.md
Co-authored-by: Chris Adamson <invalidname@gmail.com>
* Update Sources/AsyncAlgorithms/AsyncInclusiveReductionsSequence.swift
Co-authored-by: Chris Adamson <invalidname@gmail.com>
* Adjust events to elements for channels
* Add a bit more detail to the README and a start to the guide for Task.select
* Chunked updates
* Add a getting started section to the README
* Add some more prose for Channel
* Update Guides/RemoveDuplicates.md
Co-authored-by: Chris Adamson <invalidname@gmail.com>
* Apply suggestions from code review
Co-authored-by: Chris Adamson <invalidname@gmail.com>
* Add some brief prose for Compacted
* reductions could be named scan
* spelling and correctness fixes
* Apply @kperryua's suggestion for changing the intro of Compacted
* Add some brief prose for Timer
* Apply suggestions from code review for README
Co-authored-by: Tony Parker <anthony.parker@apple.com>
* Add some brief prose for RemoveDuplicates
* Fleshing out of `Joined`
Co-authored-by: Chris Adamson <invalidname@gmail.com>
Co-authored-by: Kevin Perry <kperry@apple.com>
Co-authored-by: Tony Parker <anthony.parker@apple.com>
* Implement source location information for pairwise block builders
* Enable better source locations for latest validation diagrams
* Use the new naming for partial builders
* Ensure pairwise builder expressions preserve source locations
* A full knobs-and-dials buffering strategy transformation
* Refine the AsyncBuffer type to require actor and add some additonal tests for custom buffer types
* Migrate the internal state to an actor
* Remove default unbounded policy from buffers
* Remove some dead code tests and fix space removal to avoid superfluous checks
* Simplification of nominal state machine, which helps eliminate actor interleaving issues. Fixed error/termination handling. Validation diagram tests, using “delay next” operators
* Most robust behavior when multiple tasks are concurrently accessing the iterator
* Removed Envelope, added base iterator Sendable requirement, and added conditional Sendable conformances
* Minor future-proofing
Co-authored-by: Kevin Perry <kperry@apple.com>
* Resolve a race condition that caused repeated testing of channel cancellation to sometimes hang
* Better name for removal for cancellation in inner Async(Throwing)Channel
* Add a performance tuned asynchronous iterator for creeating asynchronous byte sequences
* Some spelling fixes and language clarity improvements
* Add some more detail on the docs for the `AsyncBufferedByteIterator` initializer
* Move the storage to a usable from inline type
* Add sequences that chunk values into collections based on a variety of criteria
* Factor out Merge2 logic so its termination behavior can be customized
* Rewrite AsyncChunksOfCountAndTriggerSequence in terms of the newly configurable merge state machine
* Name changes
* Fixed tests
* Enable chunked(byTime:) functions
* Broken up into one file per sequence
* implement a sequence fir debouncing incoming events to an expected quiessence duration
* Ensure debouced sequences are sendable and update testing to the new validate method
* Add hangover tests and cancel sleep per iteration of production
* Add a detailed proposal like guide for MarbleDiagram
* Slight spacing change
Co-authored-by: kperryua <kperry@apple.com>
* Fix some pluralization agreement
Co-authored-by: kperryua <kperry@apple.com>
* Clarify the testing of merge and add a future direction for unordered groups
* rename the diagram system to a more general 'validate' based name
* Spelling fixes
* Grammar fixes for credits
Co-authored-by: kperryua <kperry@apple.com>
* Support cancellation for marble diagrams
* Add a timer based async sequence
* Test skewing events by sleeps inside the map
* A less confusing skew cancellation tick
* Split the marble diagram code out into their own files for easier refactoring
* Update latest landing InstantProtocol definition stub
* Migrate to a per Task based queue system to avoid blocking valid future jobs
* Factor inputs to be specialized waits for side tracking
* Add grouping support
* Add tests for grouping and parse failures
* Fixup misstep in package definition for clock stub imports for the marable diagrams
* Add descriptions for partial iterations for debugging aides
* Simplify Task.select implementation to handle continuations more encapsulatedly
* Add descriptions for WorkQueue items for debugging and use stable work queue drains