Queue method invocations until something is ready
A Promise-compatible abstraction that defers resolving/rejecting promises to another closure.
Create a deferred promise
Modular and fast Promises implementation
_NOTE: This is specifically tailored for Firebase JS SDK usage, if you are not a member of the Firebase team, please avoid using this package_
The most dead-simple trivial Deferred implementation
A simple Node.js module to check if a TCP port is already bound.
A lightweight Deferred implementation, on top of Promises/A+
Promise-based IO
jQuery 1.8.2 deferred lib for nodeJS.
a deferred source, sink or through pull-stream
Compliance test suite for Promises/A+
TypeScript definitions for promise-deferred
TypeScript definitions for jquery-deferred
Very simple implementation of Deferred for TypeScript
Import modules and load them if needed deferred from npm
Adds deferred script loading support
A deferred library for Node.js and the browser with a simplified jQuery compatible API
A tiny library to help with promises you can check and resolve from outside
Several helper functions when working with native promises
Polyfill for Promise.defer. Uses the native ES6 Promise. Supports other Promises/A+ implementations.
A library used in place of the native window.postMessage which when used on both the sending and receiving windows allow for a nicer asynchronouse promise messaging between the windows
Chart.js plugin to defer initial chart updates
Kris Zyp's implementation of promises with added features, maintained as an npm package.
Provide a method to release/collect resources in deferred way
Implements the await/defer pattern for event-driven or asynchronous Ruby
provides a simple way to defer initialization of an object until its methods are called
Tiny class that defers nearly all method calls to an object of your choice
This gem defines the Kernel method "it" that queue and defer method calls. This extends the Symbol#to_proc idiom to support chaining multiple methods. For example, items.collect(&it.to_s.capitalize). This also allows conditionals in case statements, such as: case ... when it > 3 then [etc.]. The method is also aliased as "its", for methods that describe possessives rather than actions, such as items.collect(&its.name.capitalize) [This gem is an extension of Jay Philips' "methodphitamine" gem, updated for ruby 1.9 and gemspec compatibility and adding the case statement functionality.]
== Synopsys Ruby Enumerable extension. Main idea is lazy computations within enumerators. == Usage Install as a gem: sudo gem install deferred_enum This gem introduces DeferredEnumerator class: ary = [1, 2, 3, 4] deferred = ary.defer # #<DeferredEnumerator: [1, 2, 3, 4]:each> DeferredEnumerator brings some optimizations to all?, any? and none? predicates deferred.all?(&:even?) # Will stop iteration after first false-result = 1 iteration deferred.none?(&:even?) # 2 iterations deferred.any?(&:even?) # 2 iterations It also introduces lazy versions of Enumerable's #select, #map and #reject methods deferred.map { |i| i + 1 } # #<DeferredEnumerator: #<Enumerator::Generator>:each> deferred.select { |i| i.even? } # #<DeferredEnumerator: #<Enumerator::Generator>:each> deferred.reject { |i| i.odd? } # #<DeferredEnumerator: #<Enumerator::Generator>:each> So you can safely chain your filters, they won't be treated as arrays: deferred.map(&:succ).select(&:even?) # #<DeferredEnumerator: #<Enumerator::Generator>:each> You can build chains of Enumerables: deferred.concat([2]).to_a # [1, 2, 3, 4, 2] Or append elements to the end of enumerator: deferred << 2 You can even remove duplicates from enumerator, though this operation can be tough: deferred.uniq # #<DeferredEnumerator: #<Enumerator::Generator>:each> There are many other methods in DeferredEnumerator, please refer to documentation.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.