Queuer - Queuer is a queue manager, built on top of OperationQueue and Dispatch (aka GCD).

  •        28

Queuer is a queue manager, built on top of OperationQueue and Dispatch (aka GCD). It allows you to create any synchronous and asynchronous task easily, with just a few lines. * Currently, URLSession.shared property is not yet implemented on Linux.

https://github.fabriziobrancati.com
https://github.com/FabrizioBrancati/Queuer

Tags
Implementation
License
Platform

   




Related Projects

Async - Syntactic sugar in Swift for asynchronous dispatches in Grand Central Dispatch

  •    Swift

Syntactic sugar in Swift for asynchronous dispatches in Grand Central Dispatch

SwifterSwift - A handy collection of more than 500 native Swift extensions to boost your productivity

  •    Swift

SwifterSwift is a collection of over 500 native Swift extensions, with handy methods, syntactic sugar, and performance improvements for wide range of primitive data types, UIKit and Cocoa classes –over 500 in 1– for iOS, macOS, tvOS, watchOS and Linux. Add the extensions folder to your Xcode project to use all extensions, or a specific extension.

libdispatch - Linux port of Apple's open-source concurrency library

  •    C

pthreads getting you down? libdispatch, aka Grand Central Dispatch (GCD) is Apple's high-performance event-handling library, introduced in OS X Snow Leopard. It provides asynchronous task queues, monitoring of file descriptor read and write-ability, asynchronous I/O (for sockets and regular files), readers-writer locks, parallel for-loops, sane signal handling, periodic timers, semaphores and more. You'll want to read over Apple's API reference. I've added the ability to integrate libdispatch's main queue with third-party run-loops, e.g. GLib's GMainLoop. Call dispatch_get_main_queue_handle_np() to get a file descriptor your run-loop can monitor for reading; when it becomes readable call dispatch_main_queue_drain_np() to execute the pending tasks.

Zewo - Lightweight library for web server applications in Swift on macOS and Linux powered by coroutines

  •    Swift

Zewo is a lightweight library for web applications in Swift.Zewo is not a web framework. Zewo is a lightweight library for web applications in Swift. Most server-side Swift projects use Grand Central Dispatch (GCD) as the concurrency library of choice. The drawback of using GCD is that its APIs are asynchronous. With async code comes callback hell and we all know it, it's no fun.

EFQRCode - A better way to operate QR Code in Swift, support iOS, macOS, watchOS and tvOS.

  •    Swift

EFQRCode is a lightweight, pure-Swift library for generating pretty QRCode image with input watermark or icon and recognizing QRCode from image, it is based on CoreGraphics, CoreImage and ImageIO. EFQRCode provides you a better way to operate QRCode in your app, it works on iOS, macOS, watchOS and tvOS, and it is available through CocoaPods, Carthage and Swift Package Manager. This project is inspired by qrcode. To run the example project manually, clone the repo, demos are in the 'Examples' folder, remember run command sh Startup.sh in terminal to get all dependencies first, then open EFQRCode.xcworkspace with Xcode and select the target you want, run.


SwiftFrameworkTemplate - A template for new Swift iOS / macOS / tvOS / watchOS Framework project ready with travis-ci, cocoapods, Carthage, SwiftPM and a Readme file

  •    Ruby

A template for new Swift Framework. For future runs you can shorten the command to cookiecutter SwiftFrameworkTemplate. However, if you want to use the most recent template you should still run the full command above.

Repeat - Modern Timer in Swift, Debouncer and Throttler (alternative to NSTimer)

  •    Swift

Repeat is small lightweight alternative to NSTimer with a modern Swift Syntax, no strong references, multiple observers reusable instances. Repeat is based upon GCD - Grand Central Dispatch. It also support debouncer and throttler features. If you want to learn more about it check out my article on Medium: "The secret world of NSTimer".

GCDKit - Grand Central Dispatch simplified with swift.

  •    Swift

GCDKit is Grand Central Dispatch simplified with Swift. GCDKit implements the following constructs. To see how they work, jump right to the Common Usage Patterns section below.

Chronos-Swift - :hourglass: Grand Central Dispatch Utilities

  •    Swift

Chronos is a collection of useful Grand Central Dispatch utilities. If you have any specific requests or ideas for new utilities, don't hesitate to create a new issue. Chronos is available under the MIT License.

SFSafeSymbols - Safely access Apple's SF Symbols using static typing

  •    Swift

SFSafeSymbols can be installed via Swift Package Manager, Accio, Carthage or CocoaPods. Supported platforms are iOS (11.0+), tvOS (11.0+) and watchOS (6.0+), although the actual functionality is of course only accessible starting with iOS 13.0, tvOS 13.0 and watchOS 6.0.

gcdobjc - Objective-C wrapper for Grand Central Dispatch

  •    Objective-C

A Swift port is at GCDSwift. GCDObjC.h is the only header file that needs to be imported.

EFQRCode - A better way to operate quick response code in Swift.

  •    Swift

EFQRCode is a lightweight, pure-Swift library for generating pretty QRCode image with input watermark or icon and recognizing QRCode from image, it is based on CoreGraphics, CoreImage and ImageIO. EFQRCode provides you a better way to operate QRCode in your app, it works on iOS, macOS, watchOS and tvOS, and it is available through CocoaPods, Carthage and Swift Package Manager. This project is inspired by qrcode. To run the example project manually, clone the repo, demos are in the 'Examples' folder.

async-sema - Semaphore using `async` and `await`

  •    TypeScript

This is a semaphore implementation for use with async and await. The implementation follows the traditional definition of a semaphore rather than the definition of an asynchronous semaphore seen in some js community examples. Where as the latter one generally allows every defined task to proceed immediately and synchronizes at the end, async-sema allows only a selected number of tasks to proceed at once while the rest will remain waiting. Async-sema manages the semaphore count as a list of tokens instead of a single variable containing the number of available resources. This enables an interesting application of managing the actual resources with the semaphore object itself. To make it practical the constructor for Sema includes an option for providing an init function for the semaphore tokens. Use of a custom token initializer is demonstrated in examples/pooling.js.

Crypto - Swift CommonCrypto wrapper

  •    Swift

Simple CommonCrypto wrapper for Swift for macOS, iOS, watchOS, and tvOS with Carthage support. This library depends on CommonCrypto since you can't use it directly from Swift. If you don't my extensions and just want that made easy, use that library directly.

FunctionKit - A framework for functional types and operations designed to fit naturally into Swift.

  •    Swift

A framework for functional types and operations designed to fit naturally into Swift. As a language with first-class functions, Swift supports the use of functions as values. This means that functions can be stored in variables and passed as arguments to other functions.

Guitar - A Cross-Platform String and Regular Expression Library written in Swift.

  •    Swift

This library seeks to add common string manipulation functions, including common regular expression capabilities, that are needed in both mobile and server-side development, but are missing in Swift's Standard Library. The full documentation can be found at http://www.sabintsev.com/Guitar/.

SwiftLinkPreview - It makes a preview from an URL, grabbing all the information such as title, relevant texts and images

  •    Swift

It makes a preview from an URL, grabbing all the information such as title, relevant texts and images. To use SwiftLinkPreview as a pod package just add the following in your Podfile file.

electron-remote - Execute JavaScript in remote Electron processes, but more betterer

  •    Javascript

electron-remote provides an alternative to Electron's remote module based around Promises instead of synchronous execution. It also provides an automatic way to use BrowserWindows as "background processes" that auto-scales based on usage, similar to Grand Central Dispatch or the .NET TPL Taskpool. Remote is super convenient! But it also has some downsides - its main downside is that its action is synchronous. This means that both the main and window processes will wait for a method to finish running. Even for quick methods, calling it too often can introduce scroll jank and generally cause performance problems.

TaskQueue - A Task Queue Class developed in Swift (by Marin Todorov)

  •    Swift

TaskQueue is a Swift library which allows you to schedule tasks once and then let the queue execute them in a synchronous manner. The great thing about TaskQueue is that you get to decide on which GCD queue each of your tasks should execute beforehand and leave TaskQueue to do switching of the queues as it goes. Even if your tasks are asynchronious like fetching location, downloading files, etc. TaskQueue will wait until they are finished before going on with the next task.

concurrencpp - Modern concurrency for C++

  •    C++

concurrencpp is a tasking library for C++ allowing developers to write highly concurrent applications easily and safely by using tasks, executors and coroutines. By using concurrencpp applications can break down big procedures that need to be processed asynchronously into smaller tasks that run concurrently and work in a co-operative manner to achieve the wanted result. concurrencpp also allows applications to write parallel algorithms easily by using parallel coroutines. concurrencpp is a task-centric library. A task is an asynchronous operation. Tasks offer a higher level of abstraction for concurrent code than traditional thread-centric approaches. Tasks can be chained together, meaning that tasks pass their asynchronous result from one to another, where the result of one task is used as if it were a parameter or an intermediate value of another ongoing task. Tasks allow applications to utilize available hardware resources better and scale much more than using raw threads, since tasks can be suspended, waiting for another task to produce a result, without blocking underlying OS-threads. Tasks bring much more productivity to developers by allowing them to focus more on business-logic and less on low-level concepts like thread management and inter-thread synchronization.






We have large collection of open source products. Follow the tags from Tag Cloud >>


Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.