How would I call a generator function from an imported libraries callback? - Effect Community