promises

A flexible and generic promise implementation for Javascript libraries