The OpenD Programming Language

Generator.this

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

Parameters

fn void function
()

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: fn must not be null.

Meta