public static Action AddWorkUnitReturnBlock(Action workUnit) => ThreadWorkGroup.AddWorkUnit(() => { workUnit(); return(UnitValue); }).Let(f => new Action(() => { f(); }));
public static Func <T> AddWorkUnit <T>(Func <T> workUnit) => ThreadWorkGroup.AddWorkUnit(workUnit);