GeneratorSpawn (open)
This function asynchronously drives a generator function that yields promises. It returns a promise for the final return value.
Syntax
// Core function, no LOADLIB necessary
OBJECT FUNCTION GeneratorSpawn(OBJECT generator)
Parameters
OBJECT generator
Generator to run
Return value
OBJECT
Promise for the generator return value