public static ICaseTemporary Case <T>(ReadableChannel <T> channel, Func <Task> callback, Func <T, bool> additionalAcceptanceTest = null) { return(new CaseTemporary <T>(channel, ToFuncTTaskConverter.Convert <T>(callback), additionalAcceptanceTest)); }
public DispatchContext Case <T>(ReadableChannel <T> channel, Func <Task> callback, Func <T, bool> additionalAcceptanceTest = null) { return(Case(channel, ToFuncTTaskConverter.Convert <T>(callback), additionalAcceptanceTest)); }