Replies: 2 comments 2 replies
-
Is this an export or import? Can you show some code |
Beta Was this translation helpful? Give feedback.
2 replies
-
For the record, I got it working with collections instead, though I do need to run an extra flatmap around it, so generators where a bit nicer. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, after trying to use prepareRows without success (see #4270) I tried switching to using Generators instead.
So I have an array that needs to be flattened and I pass it to the constructor which stores it as a private variable of the export class, then using
FromGenerator
I loop through the array andyield
for each flattened item.But for some reason my
generator()
function never runs ? I've got logs in the constructor and at the beginning of the generator function (before the loop starts) as well as in mymap()
function. But only the logging in the constructor is run.Beta Was this translation helpful? Give feedback.
All reactions