Blocks the calling thread until the task has been ended and returns the return value of the task as the given type.
Use this method only for Tasks with return values (functions)!
Namespace: UnityThreadingAssembly: UnityThreading (in UnityThreading.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public abstract TResult Wait<TResult>()
|
Visual Basic |
---|
Public MustOverride Function Wait(Of TResult) As TResult |
Visual C++ |
---|
public:
generic<typename TResult>
virtual TResult Wait() abstract |
Type Parameters
Return Value
The return value of the task as the given type.
See Also