public static CTasks.Task.Handleable ToTaskHandle(this CTasks.Exec.Handleable handle, int defState = 0, Exception[] defExceptions = null) => (state, exceptions) => handle(defState, defExceptions);
/* -------- To Task-Handleable (From Handleable) -------- */ public static CTasks.Task.Handleable ToTaskHandle(this CTasks.Exec.Handleable handle) => (state, exceptions) => handle(state, exceptions);
public static CTasks.Exec.Executable ToExec(this CTasks.Exec.Handleable handle, int defState = 0, Exception[] defExceptions = null) => () => handle(defState, defExceptions);
public static CTasks.Exec.Executable <T> ToGExec <T>(this CTasks.Exec.Handleable handle, int defState = 0, Exception[] defExceptions = null) => (obj) => handle(defState, defExceptions);
public static CTasks.Task.Executable <T> ToGTask <T>(this CTasks.Exec.Handleable handle, int defState = 0, Exception[] defExceptions = null) => (obj) => { handle(defState, defExceptions); return(null); };