Fiber.this

this(void delegate() fn, size_t stackSize = 0) @trusted

Construct a fiber with the given callable.

Parameters

fnThe function or delegate to execute in the fiber context.
stackSizeOptional stack size in bytes. Defaults to platform default.
this(void function() fn, size_t stackSize = 0) @trusted

ditto