Generator and future's memory layout

When I create and use a generator, can I get the specific memory layout of the generator?
I want to get the current state of a generator in sometime . So the state information maybe stored in the specific memory.
I also want to know how to get the layout information of a Future function, the memory stores what information.Becoause Future is created from generator.
image

The memory layout of a future is not defined, may change at any time, and there is no way to inspect it.

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.