Method UseFirstPad
UseFirstPad(Option<String>, Func<ZeroPad, Session, Task<Unit>>, Boolean)
Declaration
public static Task UseFirstPad(Option<string> host, Func<ZeroPad, Session, Task<Unit>> SuccesAysnc, bool adaptSession = false)
Parameters
Type |
Name |
Description |
LanguageExt.Option<System.String> |
host |
|
System.Func<ZeroPad, Session, System.Threading.Tasks.Task<LanguageExt.Unit>> |
SuccesAysnc |
|
System.Boolean |
adaptSession |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
UseFirstPad(Option<String>, Func<ZeroPad, Session, Task<Unit>>, Func<Int32, String, Unit>, Boolean)
Declaration
public static Task UseFirstPad(Option<string> host, Func<ZeroPad, Session, Task<Unit>> SuccesAysnc, Func<int, string, Unit> FailedAsync, bool adaptSession = false)
Parameters
Type |
Name |
Description |
LanguageExt.Option<System.String> |
host |
|
System.Func<ZeroPad, Session, System.Threading.Tasks.Task<LanguageExt.Unit>> |
SuccesAysnc |
|
System.Func<System.Int32, System.String, LanguageExt.Unit> |
FailedAsync |
|
System.Boolean |
adaptSession |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|