Thunk.this
this
(T delegate() @safe recipe) @safeConstruct a pending thunk without invoking the recipe.
Parameters
recipe | An escaping, zero-argument @safe delegate. |
Throws
InvalidThunkException if the recipe is null.
this
(T function() @safe recipe) @safeConstruct a pending thunk from an @safe free function.
Parameters
recipe | A non-null, zero-argument @safe function pointer. |
Throws
InvalidThunkException if the recipe is null.