Constructor PromiseGenerator PromiseGenerator() Creates a new promise generator. Declaration public PromiseGenerator()