Space Engineers
Public Member Functions | Properties | List of all members
ParallelTasks.Future< T > Struct Template Reference

A task struct which can return a result. More...

Public Member Functions

GetResult ()
 Gets the result. Blocks the calling thread until the future has completed execution. This can only be called once! More...
 

Properties

bool IsComplete [get]
 Gets a value which indicates if this future has completed. More...
 
Exception[] Exceptions [get]
 Gets an array containing any exceptions thrown by this future. More...
 

Detailed Description

A task struct which can return a result.

Template Parameters
TThe type of result this future calculates.

Definition at line 13 of file Future.cs.

Member Function Documentation

T ParallelTasks.Future< T >.GetResult ( )
inline

Gets the result. Blocks the calling thread until the future has completed execution. This can only be called once!

Returns

Definition at line 47 of file Future.cs.

Property Documentation

Exception [] ParallelTasks.Future< T >.Exceptions
get

Gets an array containing any exceptions thrown by this future.

Definition at line 31 of file Future.cs.

bool ParallelTasks.Future< T >.IsComplete
get

Gets a value which indicates if this future has completed.

Definition at line 23 of file Future.cs.


The documentation for this struct was generated from the following file: