Async is a syntactic sugar in Swift for asynchronous dispatches in Grand Central Dispatch. Now more than syntactic sugar for asynchronous dispatches in Grand Central Dispatch (GCD) in Swift. Custom queues, dispatch block after delay, cancel blocks that aren't already dispatched. The way it work is by using the new notification API for GCD introduced in OS X 10.10 and iOS 8. Each chaining block is called when the previous queue has finished. The dispatch_block_t can't be extended. Workaround used, Wrap dispatch_block_t in a struct that takes the block as a property. AsyncGroup facilitates working with groups of asynchronous blocks.

Features

  • Add To Your Project In Xcode 11
  • Add As A Dependency In Package.swift
  • Avoid code indentation by chaining
  • Arguments and return types reduce polluted scopes
  • Supports the modern queue classes
  • Chain as many blocks as you want

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Async

Async Web Site

Other Useful Business Software
Get Avast Free Antivirus with 24/7 AI-powered online scam detection Icon
Get Avast Free Antivirus with 24/7 AI-powered online scam detection

Get protection for today’s online threats. Free.

Award-winning antivirus protection, as well as protection against online scams, dangerous Wi-Fi connections, hacked accounts, and ransomware. It includes Avast Assistant, your built-in AI partner, which gives you help with suspicious online messages, offers, and more.
Free Download
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Async!

Additional Project Details

Operating Systems

Apple iPhone, Mac

Programming Language

Swift

Related Categories

Swift Source Code Analysis Tool

Registered

2021-11-29