Thunk.this

this(T delegate() @safe recipe) @safe

Construct a pending thunk without invoking the recipe.

Parameters

recipeAn escaping, zero-argument @safe delegate.

Throws

InvalidThunkException if the recipe is null.
this(T function() @safe recipe) @safe

Construct a pending thunk from an @safe free function.

Parameters

recipeA non-null, zero-argument @safe function pointer.

Throws

InvalidThunkException if the recipe is null.