MooshAsyncT Method (ActionT, T) |
Asynchronously runs a function with a single argument.
Namespace: MooshAssembly: Moosh (in Moosh.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static void Async<T>(
Action<T> func,
T arg
)
Public Shared Sub Async(Of T) (
func As Action(Of T),
arg As T
)
public:
generic<typename T>
static void Async(
Action<T>^ func,
T arg
)
static member Async :
func : Action<'T> *
arg : 'T -> unit
Parameters
- func
- Type: SystemActionT
The function to be run on a different thread. - arg
- Type: T
The argument to run the action on.
Type Parameters
- T
[Missing <typeparam name="T"/> documentation for "M:Moosh.Moosh.Async``1(System.Action{``0},``0)"]
See Also