Generator.this

Initializes a generator object which is associated with a dynamic D function. The function will be called once to prepare the range for iteration.

Parameters

dg void delegate
()

The fiber function.

sz size_t

The stack size for this fiber.

guardPageSize size_t

size of the guard page to trap fiber's stack overflows. Refer to core.thread.Fiber's documentation for more details.

In: dg must not be null.

Meta