WorkItem.this
this
(void delegate() @safe task, string name = null) pure @safe nothrow @nogcConstruct a work item from a delegate.
Parameters
task | The delegate to execute. |
name | Optional name for the work item. |