fix(event loop): Changed .base to .Base 

Changed two references of `generators.base` to `generators.Base`. Without the change users copying and pasting the example code will get errors.